Open kwonj5549 opened 6 months ago
You can read the buildroot documentation. Any armv5l busybox config should work.
I got it to detect and mount the rootfs initrd but it doesn't get to the root login screen. I am using the busybox.config from this repo and this is my buildroot config. config.txt
Do you see any startup on the screen? If not, make sure console=
is set properly, probably console=tty0
Yes I see start up on the screen
Also the busybox startup, i.e. starting network...
? You can also try init=/bin/sh
It shows this screen then it gets stuck here
. Also where do I change the init=/bin/sh
dbus-uuidgen? That's definitely userspace but not something I'd expect in a busybox based initrd.
init=/bin/sh
is a kernel cmdline parameter which needs to be set in the bootloader config, so the ll2 script you're using.
I am using the start_initrd.ll2 from the ti nspire linux builds
Also if i dont have my usb wifi dongle plugged in it doesnt even get to the second screen
Depending on which kernel and DTB you're using there can be some weird behaviour with USB.
I got rid of the dbus package so it doesn't show the message but it's still not working. I'm using the zimage, dtb, and start initrd script from the nspire Linux builds.
No idea, I haven't really worked with buildroot for quite a while now. You should definitely try init=/bin/sh
though.
Apparently something was wrong with my original .ll2 script because when I deleted and reuploaded the file it worked. Thanks for your help!
Also how would I build my own kernel because I'm trying to add a new network driver and it needs a new kernel to be built? Ive tried doing it using the config in the cxii branch but I cannot get it past the linux loader screen, and would I need to make a new dtb?
The config in the CX II branch also needs the kernel from the https://github.com/Vogtinator/linux/tree/cxII-clean branch.
I've got a more recently rebased branch locally which I haven't pushed yet because it takes ages to upload 2years worth of kernel changes...
Ok, I got the kernel to work, but I need to load the rtl8812au driver for my usb wifi dongle(TP link ac600 nano). I tried putting the source for the driver from rtl8812au into /drivers/net/wireless and updating the kconfig and makefiles and then rebuilt the kernel. However, the usb dongle still shows up as usb0 instead of wlan0 because I don't think the drivers are being loaded or something.
usb0
probably means it's in USB device mode, not host mode.
How can I get it into usb host mode.
I built a new kernel using the cxii-usb-host using the cxii-clean config and it still says usb0.
You also need the DTB from that branch.
now nothing shows up, but thats because I need the driver for the dongle right?
Yep.
are there any other kernel settings i need to enable?
No idea, you'll have to check the driver code.
Hmm i can't get it to show up. I don't think my driver is being loaded or something because I don't see anything about 8821au when I do dmesg. Also should "lsusb" print nothing?
lsusb should show it, at least the root port for the USB controller. Make sure the kernel config has the USB host stuff enabled (not sure what exactly) and the DT is the correct one.
it says /sys/bus/usb/devices: No such file or directory. Im also unsure of what to enable for the USB Host
Check the kernel USB driver section in make menuconfig.
Would it be support for host side usb?
Yes, and FOTG210 HCD + then whatever device drivers.
hmm it keeps saying new usb device found and then usb disconnect over and over again and unable to enumerate usb device. Also ifconfig -a isn't showing my device still.
How do I go about creating a busybox rootfs initrd? I've tried building with Buildroot using the configs in this repo, but I keep getting compilation errors, and I can't figure out what's wrong.