On Wed, Jul 22, 2015 at 7:44 AM, <[email protected]> wrote: > Hi Robert, > >> I'd like to enable cape-universal by default on bootup, under the conditions >> that: >> >> /boot/uEnv.txt >> no custom dtb= is defined >> no custom cape_enable= is defined > > Is there a document anywhere which describes the hierarchy of the uEnv files > and how they define/override booting/environment/kernel args etc?
Not really, as with uEnv.txt your free to update any variable and create variables... For boot order you can take a look at this: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 But the real important one is: "mmcargs=setenv bootargs console=${console} " \ "${optargs} " \ "${cape_disable} " \ "${cape_enable} " \ "root=${mmcroot} " \ "rootfstype=${mmcrootfstype} " \ "${cmdline}\0" \ and "if test -n ${dtb}; then " \ "setenv fdtfile ${dtb};" \ "echo using ${fdtfile} ...;" \ "fi;" \ https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2015.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/d/optout.
