We will check out the HW and if it is bad, will will repair it. Gerald
On Tue, Jan 7, 2014 at 3:01 PM, Loren Amelang <[email protected]>wrote: > RMA initiated. Hope they reveal what went wrong with my board! > > Found one clue, my fears about importbootenv are probably unfounded: > http://lists.busybox.net/pipermail/buildroot/2013-September/078135.html > --- > On Thu, 12 Sep 2013 18:41:43 -0500, Ryan Barnett wrote: > > Some boards in u-boot support the ability to modify the environment > > by placing a plain text file as uEnv.txt in the root of the partition > > of an SD card. For the extact placement of where the uEnv.txt should > > be, consult your u-boot environment. Your board supports this > > overwriting of environment variables if "loadbootenv" and > > "importbootenv" are defined in the board's environment. > > loadbootenv and importbootenv are just U-Boot scripts that are specific > to certain board configurations. > > All what loadbootenv does it load a file into memory, and all what > importbootenv does is call 'env import -t <addr> <size>' to load the > environment into U-Boot. > --- > > So I have: > loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv} > and > importbootenv=echo Importing environment from mmc ...; env import -t > $loadaddr $filesize > and > loadaddr=0x80200000 > bootenv=uEnv.txt > > Filesize is not defined, but it doesn't seem to be defined in any > environments I can find: > > http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Default_uBoot_Environment_Variables > > Several pages say tftp automatically sets $filesize: > http://linino.org/doku.php?id=wiki:flash-from-uboot > but I haven't found any mention of loadbootenv setting it. It must... > > So my fear of importing another environment from a hosed eMMC seems > unfounded. All of this apparently only loads one environment: > --- > bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; mmc dev 0; if mmc > rescan ; then echo micro SD card found;setenv mmcdev 0;else echo No micro > SD card found, setting mmcdev to 1;setenv mmcdev 1;fi;setenv bootpart > ${mmcdev}:2;mmc dev ${mmcdev}; if mmc rescan; then gpio set 54; echo SD/MMC > found on device ${mmcdev};if run loadbootenv; then echo Loaded environment > from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running > uenvcmd ...;run uenvcmd;fi;gpio set 55; if run loaduimage; then gpio set > 56; run loadfdt;run mmcboot;fi;fi; > --- > micro SD card found > mmc0 is current device > SD/MMC found on device 0 > reading uEnv.txt > 1313 bytes read in 3 ms (426.8 KiB/s) > Loaded environment from uEnv.txt > Importing environment from mmc ... > Running uenvcmd ... > --- > > Off to pack up the board for RMA... > > Loren > > > On Tuesday, January 7, 2014 6:30:23 AM UTC-8, Gerald wrote: >> >> Send the board in under an RMA and get it looked at. >> >> Gerald >> >> -- > 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. > -- 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.
