diff options
author | Sandeep Sheriker M <sandeep.sheriker@microchip.com> | 2019-08-14 00:42:15 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-08-17 23:08:55 +0200 |
commit | 575950e37698b5d59f7a30a44f92327844c58b99 (patch) | |
tree | 5c4faf1f9fd2178fe660c018563c705b7b956d7e /target/linux/at91/image/uboot-env.txt | |
parent | 32d4e4226d7de48f0a156e7bc298667119405b84 (diff) | |
download | upstream-575950e37698b5d59f7a30a44f92327844c58b99.tar.gz upstream-575950e37698b5d59f7a30a44f92327844c58b99.tar.bz2 upstream-575950e37698b5d59f7a30a44f92327844c58b99.zip |
at91: add uboot environments
add uboot environments to sdcard image
Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
Diffstat (limited to 'target/linux/at91/image/uboot-env.txt')
-rw-r--r-- | target/linux/at91/image/uboot-env.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/at91/image/uboot-env.txt b/target/linux/at91/image/uboot-env.txt new file mode 100644 index 0000000000..80d051b72f --- /dev/null +++ b/target/linux/at91/image/uboot-env.txt @@ -0,0 +1,14 @@ +/* Do Not remove First 2 lines, Makefile will modify these lines with proper board names */ +board=at91sam9x25ek +board_name=at91sam9x25ek +bootargs=console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 +bootargsd2=console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rootwait rootfstype=ext4 +bootargsxx=console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 +bootcmd=run setbootargs; run fatload_mmc; bootm 0x21000000 +bootdelay=1 +fatload_mmc=if test ${board_name} = sama5d2_xplained || test ${board_name} = sama5d27_som1_ek; then fatload mmc 1:1 0x21000000 ${board_name}-fit.itb; else fatload mmc 0:1 0x21000000 ${board_name}-fit.itb; fi +setbootargs=if test ${board_name} = sama5d2_xplained || test ${board_name} = sama5d27_som1_ek; then setenv bootargs ${bootargsd2}; else setenv bootargs ${bootargsxx}; fi +ethact=gmac0 +stderr=serial +stdin=serial +stdout=serial |