mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 11:33:32 +00:00
ab53bd43db
Beacon Embedded has an i.MX8M Plus development kit which consists of a SOM + baseboard. The SOM includes Bluetooth, WiFi, QSPI, eMMC, and one Ethernet PHY. The baseboard includes audio, HDMI, USB-C Dual Role port, USB Hub with five ports, a PCIe slot, and a second Ethernet PHY. The device trees are already queued for inclusion in Linux 6.3. Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
19 lines
1.2 KiB
Bash
19 lines
1.2 KiB
Bash
boot_fdt=try
|
|
boot_fit=no
|
|
console=ttymxc1,115200
|
|
fdt_addr=0x43000000
|
|
fdt_addr_r=0x43000000
|
|
fdt_file=imx8mp-beacon-kit.dtb
|
|
finduuid=part uuid mmc ${mmcdev}:2 uuid
|
|
image=Image
|
|
kernel_addr_r=0x40480000
|
|
loadfdt=echo ${fdt_file}; fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdt_file}
|
|
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
|
|
mmcargs=setenv bootargs console=${console} root=PARTUUID=${uuid} rootwait rw ${mtdparts} ${optargs}
|
|
mmcboot=echo Booting from mmc ...; run finduuid; run mmcargs; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if run loadfdt; then booti ${loadaddr} - ${fdt_addr_r}; else echo WARN: Cannot load the DT; fi; fi;
|
|
mmcdev=1
|
|
mmcpart=1
|
|
netargs=setenv bootargs ${jh_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
|
|
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fit} = yes || test ${boot_fit} = try; then bootm ${loadaddr}; else if ${get_cmd} ${fdt_addr_r} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr_r}; else echo WARN: Cannot load the DT; fi; fi;
|
|
optargs=audit=0 video=LVDS-1:d video=LVDS-2:d
|
|
scriptaddr=0x40480000
|