diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-05-01 15:42:46 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-12 10:04:36 +0200 |
commit | 43e466f7ace70169fdef4d94f23ba3264d8f07aa (patch) | |
tree | 26a8b3bbb98a0e24889bb13a741e00e4e5ea6031 /recipes/images/files/colibri-t20/colibri-t20_bin | |
parent | 3a7f3cacecb6e12f5fd118ad862a23485e9a8ddb (diff) |
apalis/colibri_t20/t30: integrate latest stuff
Diffstat (limited to 'recipes/images/files/colibri-t20/colibri-t20_bin')
17 files changed, 152 insertions, 5 deletions
diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.bct Binary files differnew file mode 100644 index 0000000..bcef8b1 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.img.cfg new file mode 100644 index 0000000..6fc664d --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-hsmmc.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-256-hsmmc.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.bct Binary files differnew file mode 100644 index 0000000..7ddd5d8 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.img.cfg new file mode 100644 index 0000000..3ce017e --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v11-nand.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-256-v11-nand.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.bct Binary files differnew file mode 100644 index 0000000..365877f --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.img.cfg new file mode 100644 index 0000000..41ed535 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-256-v12-nand.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-256-v12-nand.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.bct Binary files differnew file mode 100644 index 0000000..09eb434 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.img.cfg new file mode 100644 index 0000000..60760fc --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-hsmmc.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-512-hsmmc.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.bct Binary files differnew file mode 100644 index 0000000..5d68994 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.img.cfg new file mode 100644 index 0000000..992f47a --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v11-nand.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-512-v11-nand.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.bct b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.bct Binary files differnew file mode 100644 index 0000000..f9db8fc --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.bct diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.img.cfg b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.img.cfg new file mode 100644 index 0000000..cb96289 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/colibri_t20-512-v12-nand.img.cfg @@ -0,0 +1,22 @@ +# Copyright (C) 2015 Toradex, Inc. +# +# This software is provided 'as-is', without any express or implied +# warranty. In no event will the authors be held liable for any damages +# arising from the use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not +# claim that you wrote the original software. If you use this software +# in a product, an acknowledgment in the product documentation would be +# appreciated but is not required. +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# 3. This notice may not be removed or altered from any source distribution. + +Version = 0x00020001; +Bctcopy = 1; +Bctfile = colibri_t20-512-v12-nand.bct; +BootLoader = u-boot-dtb-tegra.bin,0x00108000,0x00108000,Complete; diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img Binary files differnew file mode 100644 index 0000000..91246e1 --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.img diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr new file mode 100644 index 0000000..6ed07dc --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_blk.scr @@ -0,0 +1,11 @@ +test -n ${drive} || setenv drive 1 +test -n ${interface} || setenv interface mmc + +setenv prepare_rootfs 'ubi part ubi && ubi check rootfs || ubi create rootfs' +setenv update_configblock 'load ${interface} 0:1 ${loadaddr} configblock.bin && nand erase.part cfgblock && nand write ${loadaddr} cfgblock ${filesize}' +setenv update_uboot 'load ${interface} 0:1 ${loadaddr} colibri_t20-${ram-size}-${hw-version}-nand.img && nand erase.part u-boot && nand erase.part u-boot-env && nand write ${loadaddr} u-boot ${filesize}' +setenv update_rootfs 'load ${interface} 0:1 ${loadaddr} ubifs_${leb-size}.img && run prepare_rootfs && ubi write ${loadaddr} rootfs ${filesize}' + +setenv update 'run update_uboot; run update_rootfs; reset' + +echo 'enter "run update" to update the entire module' diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img Binary files differnew file mode 100644 index 0000000..8ad27ab --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.img diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr new file mode 100644 index 0000000..7c9ad4a --- /dev/null +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/flash_eth.scr @@ -0,0 +1,8 @@ +setenv prepare_rootfs 'ubi part ubi && ubi check rootfs || ubi create rootfs' +setenv update_configblock 'tftpboot ${loadaddr} configblock.bin && nand erase.part cfgblock && nand write ${loadaddr} cfgblock ${filesize}' +setenv update_uboot 'tftpboot ${loadaddr} colibri_t20-${ram-size}-${hw-version}-nand.img && nand erase.part u-boot && nand erase.part u-boot-env && nand write ${loadaddr} u-boot ${filesize}' +setenv update_rootfs 'tftpboot ${loadaddr} ubifs_${leb-size}.img && run prepare_rootfs && ubi write ${loadaddr} rootfs ${filesize}' + +setenv update 'run update_uboot; run update_rootfs; reset' + +echo 'enter "run update" to update the entire module' diff --git a/recipes/images/files/colibri-t20/colibri-t20_bin/mk-u-boot-scripts.sh b/recipes/images/files/colibri-t20/colibri-t20_bin/mk-u-boot-scripts.sh index 2a4e898..ce71dbd 100755..120000 --- a/recipes/images/files/colibri-t20/colibri-t20_bin/mk-u-boot-scripts.sh +++ b/recipes/images/files/colibri-t20/colibri-t20_bin/mk-u-boot-scripts.sh @@ -1,5 +1 @@ -#!/bin/sh -for f in *.scr -do - mkimage -T script -C none -n 'Flash Apalis iMX6' -d $f `basename $f .scr`.img -done +../../library/mk-u-boot-scripts.sh
\ No newline at end of file |