mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
575950e376
add uboot environments to sdcard image Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
15 lines
914 B
Plaintext
15 lines
914 B
Plaintext
/* 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
|