Tom Rini | 8592e25 | 2024-10-13 10:19:05 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Custom Boot configuration: |
| 3 | * 1. 8bit SD port (MMC1) |
| 4 | * 2. 4bit SD port (MMC2) |
| 5 | * 3. eMMC (MMC0) |
| 6 | */ |
| 7 | boot_targets=mmc1 mmc2 mmc0 usb pxe dhcp |
| 8 | |
| 9 | boot_file=zImage |
| 10 | boot_script_dhcp=boot.scr |
| 11 | console=ttyS0 |
| 12 | defargs=lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 |
| 13 | usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 |
| 14 | user_debug=30 pcie_aspm=off |
| 15 | dfu_alt_info=apalis-tk1.img raw 0x0 0x500 mmcpart 1; |
| 16 | boot part 0 1 mmcpart 0; |
| 17 | rootfs part 0 2 mmcpart 0; |
| 18 | zImage fat 0 1 mmcpart 0; |
| 19 | tegra124-apalis-eval.dtb fat 0 1 mmcpart 0 |
| 20 | fdt_board=eval |
| 21 | fdt_fixup=; |
| 22 | fdt_module=apalis-v1.2 |
| 23 | uboot_hwpart=1 |
| 24 | uboot_blk=0 |
| 25 | set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff && |
| 26 | setexpr blkcnt ${blkcnt} / 0x200 |
| 27 | update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} && |
| 28 | mmc write ${loadaddr} ${uboot_blk} ${blkcnt} |
| 29 | setethupdate=if env exists ethaddr; then; else setenv ethaddr |
| 30 | 00:14:2d:00:00:00; fi; pci enum && tftpboot ${loadaddr} |
| 31 | flash_eth.img && source ${loadaddr} |
| 32 | setsdupdate=setenv interface mmc; setenv drive 1; mmc rescan; |
| 33 | load ${interface} ${drive}:1 ${loadaddr} flash_blk.img |
| 34 | || setenv drive 2; mmc rescan; load ${interface} ${drive}:1 |
| 35 | ${loadaddr} flash_blk.img && |
| 36 | source ${loadaddr} |
| 37 | setup=setenv setupargs igb_mac=${ethaddr} |
| 38 | consoleblank=0 no_console_suspend=1 console=tty1 |
| 39 | console=${console},${baudrate}n8 debug_uartport=lsport,0 |
| 40 | ${memargs} |
| 41 | setupdate=run setsdupdate || run setusbupdate || run setethupdate |
| 42 | setusbupdate=usb start && setenv interface usb; setenv drive 0; |
| 43 | load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && |
| 44 | source ${loadaddr} |
| 45 | vidargs=fbcon=map:1 |