On Sat, 2011-07-23 at 22:51 +0200, Bdale Garbee wrote: > On Sat, 23 Jul 2011 19:37:53 +0200, Ben Hutchings <b...@decadent.org.uk> > wrote: > Non-text part: multipart/signed > > By writing to whichever flash partition they're in. > > Oh, it's not in a "partition" like a disk partition...
I know that. > > Is that because, as with everything on ARM, it's done differently on > > each board? How do users set these variables in the first place? > > They interrupt the boot over a serial console and talk to the command > line u-boot interface, telling it to set and save various variables into > an SPI-attached memory part. It's as if on a PC you had to interrupt > the boot and touch the BIOS config. I assumed that the configuration would be stored in a partition of the bulk NAND flash used for the filesystem (and possibly specific kernel and initrd partitions), which the kernel should know the layout of. Given that the boot loader is capable of reading the kernel from there, one might hope it could read its configuration from there. Unless of course the configuration includes critical board-specific details too... Ben. -- Ben Hutchings Absolutum obsoletum. (If it works, it's out of date.) - Stafford Beer
signature.asc
Description: This is a digitally signed message part