diff options
| author | Piotr Dymacz <pepe2k@gmail.com> | 2021-05-26 12:36:30 +0200 |
|---|---|---|
| committer | Piotr Dymacz <pepe2k@gmail.com> | 2021-05-26 14:12:46 +0200 |
| commit | 8dba71dd33c8e35e7f363ffdb2ba42259ab43ce2 (patch) | |
| tree | 5f355d0d316a48324353b1bd15ed0945f73532e7 /target/linux/imx6/image/bootscript-solidrun_cubox | |
| parent | fbd6f099f50e77d2bb95708c62e86a358779251a (diff) | |
| download | upstream-8dba71dd33c8e35e7f363ffdb2ba42259ab43ce2.tar.gz upstream-8dba71dd33c8e35e7f363ffdb2ba42259ab43ce2.tar.bz2 upstream-8dba71dd33c8e35e7f363ffdb2ba42259ab43ce2.zip | |
imx6: image: drop BOOT_SCRIPT and fix DEVICE_NAME
This fixes Gateworks Ventana 'DEVICE_NAME' variable which value wasn't
adjusted during migration to common 'vendor_model' image naming scheme
(fixes: FS#3825).
Furthermore, drop unused 'Build/boot-scr' recipe, get rid of redundant
'BOOT_SCRIPT' variable (use already provided 'DEVICE_NAME' instead) and
drop custom 'DEVICE_NAME' variable from SolidRun CuBox-i image recipe
(use default one instead).
Fixes: cbc8bcfbaa ("imx6: image: use vendor_model scheme")
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/imx6/image/bootscript-solidrun_cubox')
| -rw-r--r-- | target/linux/imx6/image/bootscript-solidrun_cubox | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/imx6/image/bootscript-solidrun_cubox b/target/linux/imx6/image/bootscript-solidrun_cubox deleted file mode 100644 index 2ed48ab9415..00000000000 --- a/target/linux/imx6/image/bootscript-solidrun_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} |
