diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2015-10-19 17:09:42 +0200 |
---|---|---|
committer | Max Krummenacher <max.oss.09@gmail.com> | 2015-10-28 09:31:27 +0100 |
commit | 878f19253370e3d11f1e877bfb83f65db4315f5b (patch) | |
tree | 2be84237b41e079c3f8012532f74ec8d6e49016c /recipes | |
parent | 7e3a51dba235cc3b8bf32bb25a8321d9c0625ae9 (diff) |
iMX6: update.sh: deploy Ixora specific dtb
While at it:
- remove the default directory for the -o parameter
- cleanup text and sort variables
Diffstat (limited to 'recipes')
-rwxr-xr-x | recipes/images/files/library/imx6/update.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes/images/files/library/imx6/update.sh b/recipes/images/files/library/imx6/update.sh index a484d7a..9739457 100755 --- a/recipes/images/files/library/imx6/update.sh +++ b/recipes/images/files/library/imx6/update.sh @@ -52,21 +52,20 @@ Usage() echo "on the eMMC or one copied over usb into the module's RAM" echo "" echo "-d : use USB connection to copy and execute U-Boot to the module's RAM" - echo "-h : Prints this message" + echo "-h : prints this message" echo "-o directory : output directory" echo "" - echo "Example \"./update.sh\" copies the requiered files to /media/KERNEL/" - echo "Example \"./update.sh -o /srv/tftp/\" copies the requiered files to /srv/tftp/" + echo "Example \"./update.sh -o /srv/tftp/\" copies the required files to /srv/tftp/" echo "" echo "" Flash } -#initialise options -UBOOT_RECOVERY=0 -OUT_DIR="/media/KERNEL" +# initialise options MIN_PARTITION_FREE_SIZE=100 +OUT_DIR="" ROOTFSPATH=rootfs +UBOOT_RECOVERY=0 # No devicetree by default KERNEL_DEVICETREE="" KERNEL_IMAGETYPE="uImage" @@ -112,7 +111,8 @@ else IMAGEFILE=root.ext3 U_BOOT_BINARY=u-boot.imx U_BOOT_BINARY_IT=u-boot-it.imx - KERNEL_DEVICETREE="imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb" + KERNEL_DEVICETREE="imx6q-apalis-eval.dtb imx6q-apalis_v1_0-eval.dtb \ + imx6q-apalis-ixora.dtb imx6q-apalis_v1_0-ixora.dtb " LOCPATH="imx_flash" # assumed minimal eMMC size [in sectors of 512] EMMC_SIZE=$(expr 1024 \* 3500 \* 2) @@ -193,8 +193,8 @@ grep -i imx6 rootfs/etc/issue >> ${BINARIES}/versions.txt # ------------------------ ------------ ------------------------ # | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE | # ------------------------ ------------ ------------------------ -# ^ ^ ^ -# | | | +# ^ ^ ^ ^ +# | | | | # 0 4MiB 4MiB + 16MiB EMMC_SIZE # # with U-Boot at 1024, the U-Boot environment at 512 * 1024, the config block is at 640 * 1024 |