blob: 9c2d9a92f0bdff4e163c35d3a6a69127008db616 [file] [log] [blame]
Tom Rini8592e252024-10-13 10:19:05 -06001/*
2 * Custom Boot configuration:
3 * 1. 8bit SD port (MMC1)
4 * 2. 4bit SD port (MMC2)
5 * 3. eMMC (MMC0)
6 */
7boot_targets=mmc1 mmc2 mmc0 usb pxe dhcp
8
9boot_file=zImage
10boot_script_dhcp=boot.scr
11console=ttyS0
12defargs=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
15dfu_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
20fdt_board=eval
21fdt_fixup=;
22fdt_module=apalis-v1.2
23uboot_hwpart=1
24uboot_blk=0
25set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
26 setexpr blkcnt ${blkcnt} / 0x200
27update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&
28 mmc write ${loadaddr} ${uboot_blk} ${blkcnt}
29setethupdate=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}
32setsdupdate=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}
37setup=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}
41setupdate=run setsdupdate || run setusbupdate || run setethupdate
42setusbupdate=usb start && setenv interface usb; setenv drive 0;
43 load ${interface} ${drive}:1 ${loadaddr} flash_blk.img &&
44 source ${loadaddr}
45vidargs=fbcon=map:1