On Wednesday, January 22, 2014 7:38:23 PM UTC-5, RobertCNelson wrote: > > > On the capemgr front......I am looking into ways to get the dtbo files > > accessible at boot time. > > Option 1) Get capemgr to find /lib/firmware on startup > > Option 2) Put dtbo files into boot partition > > Couples issues, > > The *.dtbo's already compiled under /lib/firmware should work via the > uEnv.txt *_enable call.. > The kernel .config, build firmware in kernel is enabled. > We are using an initrd. (helps hide the lack of rtc problem for rootfs > and allows us to us uuid's for the eMMC, aka allowing single/multi mmc > card combinations..) > > So, any modifications to any of the existing /lib/firmware/*.dtbo file > will be ignored, as the kernel has it built-in. > > Any additions to /lib/firmware/*.dtbo are ignored as they are too late > on boot (uEnv.txt *_enable call) and are not in the initrd. > > So.. I "think" we can fix the problem, by making sure all *.dtbo's > (including new ones from users) are re-pulled into the initrd when > it's regenerated. Here's the current initrd.img update routine. > > if [ ! -f /boot/initrd.img-$(uname -r) ] ; then > update-initramfs -c -k $(uname -r) > else > update-initramfs -u -k $(uname -r) > fi > cp -v /boot/initrd.img-$(uname -r) /boot/uboot/initrd.img > > I'm guessing we just have to add the *.dtbo to one of the /etc/xyz > files that update-initramfs utilizes..
This would be good ... I have a custom .dts for a cape that I need to get loaded at boot time (via the cape's EEPROM) without the 60s timeout for rootfs. Also, one of the items on my cape is RTC (ds1307 via i2c2) -- yes, it actually has a battery too! Any thoughts on how to get it to be "used" by the kernel? It is detected and shows up as /dev/rtc1, but if I try to symlink /dev/rtc to /dev/rtc1, it gets reset at boot time and the kernel ignores it ... eventually getting it's time from ntpdate (if network is available). Would be nice if there was a way to connect a battery to the onboard RTC! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
