diff options
Diffstat (limited to 'recipes/images/files/colibri-t20')
20 files changed, 153 insertions, 5 deletions
diff --git a/recipes/images/files/colibri-t20/burnflash.tar.bz2 b/recipes/images/files/colibri-t20/burnflash.tar.bz2 Binary files differdeleted file mode 100644 index 23cf27a..0000000 --- a/recipes/images/files/colibri-t20/burnflash.tar.bz2 +++ /dev/null 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 diff --git a/recipes/images/files/colibri-t20/t20_nvflash/genext3fs.sh b/recipes/images/files/colibri-t20/tegra-uboot-flasher/genext3fs.sh index cc716db..cc716db 120000 --- a/recipes/images/files/colibri-t20/t20_nvflash/genext3fs.sh +++ b/recipes/images/files/colibri-t20/tegra-uboot-flasher/genext3fs.sh diff --git a/recipes/images/files/colibri-t20/update.sh b/recipes/images/files/colibri-t20/update.sh new file mode 120000 index 0000000..6ebea84 --- /dev/null +++ b/recipes/images/files/colibri-t20/update.sh @@ -0,0 +1 @@ +../library/tegra/update.sh
\ No newline at end of file |