diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2021-01-09 16:47:41 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2021-05-20 13:45:12 +0200 |
commit | cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad (patch) | |
tree | a258eb1c4a258178ca65b2c85e87574fc8e1183c /target/linux/imx6/image/bootscript-cubox | |
parent | 7e7cef633408b9605518279787b9fd16d79d7043 (diff) | |
download | upstream-cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad.tar.gz upstream-cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad.tar.bz2 upstream-cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad.zip |
imx6: image: use vendor_model scheme
This switches device names to the common 'vendor_model' approach as in
most of other targets in OpenWrt.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/imx6/image/bootscript-cubox')
-rw-r--r-- | target/linux/imx6/image/bootscript-cubox | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/imx6/image/bootscript-cubox b/target/linux/imx6/image/bootscript-cubox deleted file mode 100644 index 2ed48ab941..0000000000 --- a/target/linux/imx6/image/bootscript-cubox +++ /dev/null @@ -1,31 +0,0 @@ -echo "CuBox OpenWrt Boot script" - -# Set console variable for both UART and HDMI -setenv console console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 - -# Find correct dtb -if test ${board_rev} = MX6DL; then - setenv fdt_soc_type imx6dl; -elif test ${board_rev} = MX6Q; then - setenv fdt_soc_type imx6q; -fi -if test ${board_name} = CUBOXI; then - setenv fdt_name ${fdt_soc_type}-cubox-i.dtb; -elif test ${board_name} = HUMMINGBOARD; then - setenv fdt_name ${fdt_soc_type}-hummingboard.dtb; -fi - -# Set correct devtype and partition -if test ${devtype} != mmc; then setenv devtype mmc; fi -if mmc dev 0; then - setenv mmcdev 0 -elif mmc dev 1; then - setenv mmcdev 1 -fi - -# Boot from the SD card is supported at the moment -setenv bootargs "${console} root=/dev/mmcblk1p2 rw rootwait" -mmc dev ${mmcdev} -load ${devtype} ${mmcdev}:${devplist} ${kernel_addr_r} /uImage -load ${devtype} ${mmcdev}:${devplist} ${fdt_addr_r} /${fdt_name} -bootz ${kernel_addr_r} - ${fdt_addr_r} |