![]() |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
How's the init system in your kernel; is it expecting to use systemd or sysvinit? As I presume you are taking some arm debian disk image and integrating that with the elinux kernel? Quote:
Any other way to access the device requires you to have a daemon running in it, which basically means your userland needs to start. For debugging init problems this is not the optimal strategy :p [OK, yes there are other ways of course, you could build serial-emulation-for-usb in your kernel, or route kernel logging to audio port or modulate the status led with it... however you probably don't want to know about those methods] |
Re: Introducing ubiboot N9 (multiboot OS loader)
If I am correct the serial port is accessed via 3.5mm headphone plug in N950. So there wouldn't be need to tear phone apart(maybe). But somebody needs to comfirm this. :)
|
Re: Introducing ubiboot N9 (multiboot OS loader)
I have journalctl installed, so I think I have the full right to assume it's systemd.
My steps were: 1. Create a partition, setup ubiboot 2. Mount the partition from the ubiboot rescue, follow this guide: http://blog.lazy-evaluation.net/post...bootstrap.html 3. install the kernel package linux-image-armmp That's the normal upstream kernel, as provided by Debian. I guess I have no serial cable... |
Re: Introducing ubiboot N9 (multiboot OS loader)
What I meant; what is the debian rootfs you installed to your mmcblk0p4 partition?
When your kernel boots does it find all it needs on the rootfs? And you still did not answer; how far does the boot go, do you see anything at all on your device screen after ubiboot hands the execution to the debian kernel? And another thing; have you checked that the debian kernel handles the CPU L2 cache initialization correctly? (See the section 4. of ubiboot README file...) |
Re: Introducing ubiboot N9 (multiboot OS loader)
[QUOTE=juiceme;1532806]What I meant; what is the debian rootfs you installed to your mmcblk0p4 partition?
When your kernel boots does it find all it needs on the rootfs?[/code] I created an empty ext4 partition and bootstrapped latest Debian Stretch onto it using `debootstrap`. Quote:
Quote:
Here's my kernel config, I don't really know what to look for: https://pastebin.com/1T9DBbbb Maybe the problem is that I didn't append the device tree part manually? |
Re: Introducing ubiboot N9 (multiboot OS loader)
I would like to telnet with ubiboot small on my Ubuntu 17.10 i386.
when i run telnet 192.168.2.15 not work. Unable to connect to remote host... when i run ifconfig -a i have no usb0 in the list my n9 is named enp0s29.... Do i need to set up something before run telnet command |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
Code:
ifconfig enp0s29 up 192.168.2.1 |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
0.3.6-tiny is a stripped/limited version that does not have dhcpd enabled. The tiny version was made specifically for the people who have bad kernel partition so that it can fit in there... It's recommended to use 0.3.7 for everybody else. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Quote:
If I'm honest, I found the documentation (README and wiki) to be out of date and incomplete. After a lot of pain, I eventually figured it out. Parts of the README I found confusing: Quote:
Quote:
It's not clear that each rootfs should be copied/unpacked to a dedicated partition unless handled by a preinit script. This really confused me. Combined with the problems mentioned above, I incorrectly thought that maybe G_OS<x>_<y>_FILE was being used to specify the rootfs location as well as the kernel. I don't want to sound like I'm complaining, I just hope this will help others to avoid the problems I had. Although it would also be nice if you would fix the documentation juiceme. ;) It might also be nice to have a new ubiboot with a recent kernel and recent kexec tools. ;) EDIT: One more thing, my experience would have been far less painful if ubiboot had printed an error message to tell me that my kernel image was not found before running kexec. I had no idea why it was failing and thought there was a problem with the kernel I built. |
Re: Introducing ubiboot N9 (multiboot OS loader)
Ya @wicket!
These are all valid critique points, I admit that I have always been somewhat lazy to document things! Indeed I should at some point take time to tidy up things a bit... :D:D The fact is that ubiboot is a bit of work-in-progress-stalled-indefinetely when my attention turned to other things, sadly. I kind of was in the middle of updating some new functionality into it (device charging, wlan set-up, etc...) when I stopped working on it. Most if not all sources are in my github, except some experimental stuff still in my personal svn repo. |
All times are GMT. The time now is 07:22. |
vBulletin® Version 3.8.8