From 7cffebbb5a6bd655e46716d5615c3aa6ff0a34a6 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 27 Aug 2013 18:47:38 +0000 Subject: [PATCH] Added printenv.info file --- devices/cubieboard2/printenv.info | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 devices/cubieboard2/printenv.info diff --git a/devices/cubieboard2/printenv.info b/devices/cubieboard2/printenv.info new file mode 100644 index 0000000..1b5b76a --- /dev/null +++ b/devices/cubieboard2/printenv.info @@ -0,0 +1,24 @@ +autoboot=run loadkernel && run setargs && true && bootm 0x48000000 +baudrate=115200 +boot_ram=saved_stdout=$stdout;setenv stdout nc;if iminfo 0x41000000; then true; setenv stdout $saved_stdout; source 0x41000000;else setenv stdout $saved_stdout;fi +bootcmd=if run loadbootenv; then echo Loaded environment from ${bootenv};env import -t ${scriptaddr} ${filesize};fi;if test -n "${uenvcmd}"; then echo Running uenvcmd ...;run uenv; +bootdelay=3 +bootenv=uEnv.txt +bootscr=boot.scr +console=ttyS0,115200 +device=mmc +ethact=emac +kernel=uImage +loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $partition $scriptaddr ${bootenv} +loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $partition $scriptaddr ${bootscr} +loadkernel=if bootpath=/boot/ && ext2load $device $partition 0x43000000 ${bootpath}script.bin && ext2load $device $partition 0x48000000 ${bootpath}${kernel};then true; elif bootpai +loglevel=8 +panicarg=panic=10 +partition=0:1 +scriptaddr=0x44000000 +setargs=if test -z \\"$root\\"; then if test \\"$bootpath\\" = "boot/"; then root="/dev/mmcblk0p1 rootwait"; else root="/dev/mmcblk0p2 rootwait"; fi; fi; setenv bootargs console=$} +stderr=serial +stdin=serial +stdout=serial + +Environment size: 1840/131068 bytes -- 2.26.2