Skip to contentSkip to conversation

Add Toradex Colibri T20 configurations

PATCH Superseded Lucas Stach 2 participants 6 messages Jun 28, 2013 – Jul 15, 2013 3 messages not in the archive Tegra architecture support

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Toradex Colibri T20 configurations

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

---
Submission is done with the consent of Toradex.

---
 tegra20/toradex/colibri-t20/build.sh               |  41 ++
 .../colibri-t20/colibri-t20_256_hsmmc.bct.cfg      | 452 ++++++++++++++++++++
 .../colibri-t20/colibri-t20_256_hsmmc.img.cfg      |  22 +
 .../colibri-t20/colibri-t20_256_v11_nand.bct.cfg   | 460 +++++++++++++++++++++
 .../colibri-t20/colibri-t20_256_v11_nand.img.cfg   |  22 +
 .../colibri-t20/colibri-t20_256_v12_nand.bct.cfg   | 460 +++++++++++++++++++++
 .../colibri-t20/colibri-t20_256_v12_nand.img.cfg   |  22 +
 .../colibri-t20/colibri-t20_512_hsmmc.bct.cfg      | 452 ++++++++++++++++++++
 .../colibri-t20/colibri-t20_512_hsmmc.img.cfg      |  22 +
 .../colibri-t20/colibri-t20_512_v11_nand.bct.cfg   | 460 +++++++++++++++++++++
 .../colibri-t20/colibri-t20_512_v11_nand.img.cfg   |  22 +
 .../colibri-t20/colibri-t20_512_v12_nand.bct.cfg   | 460 +++++++++++++++++++++
 .../colibri-t20/colibri-t20_512_v12_nand.img.cfg   |  22 +
 13 files changed, 2917 insertions(+)
 create mode 100755 tegra20/toradex/colibri-t20/build.sh
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.img.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_v11_nand.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_v11_nand.img.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_v12_nand.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_256_v12_nand.img.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.img.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_v11_nand.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_v11_nand.img.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_v12_nand.bct.cfg
 create mode 100644 tegra20/toradex/colibri-t20/colibri-t20_512_v12_nand.img.cfg
tegra20/toradex/colibri-t20/build.sh new file +41 -0
new file mode 100755
index 0000000..ca950b1
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.
+
+set -e
+set -x
+
+cbootimage -gbct colibri-t20_256_hsmmc.bct.cfg colibri-t20_256_hsmmc.bct
+cbootimage colibri-t20_256_hsmmc.img.cfg colibri-t20_256_hsmmc.img
+
+cbootimage -gbct colibri-t20_512_hsmmc.bct.cfg colibri-t20_512_hsmmc.bct
+cbootimage colibri-t20_512_hsmmc.img.cfg colibri-t20_512_hsmmc.img
+
+cbootimage -gbct colibri-t20_256_v11_nand.bct.cfg colibri-t20_256_v11_nand.bct
+cbootimage colibri-t20_256_v11_nand.img.cfg colibri-t20_256_v11_nand.img
+
+cbootimage -gbct colibri-t20_256_v12_nand.bct.cfg colibri-t20_256_v12_nand.bct
+cbootimage colibri-t20_256_v12_nand.img.cfg colibri-t20_256_v12_nand.img
+
+cbootimage -gbct colibri-t20_512_v11_nand.bct.cfg colibri-t20_512_v11_nand.bct
+cbootimage colibri-t20_512_v11_nand.img.cfg colibri-t20_512_v11_nand.img
+
+cbootimage -gbct colibri-t20_512_v12_nand.bct.cfg colibri-t20_512_v12_nand.bct
+cbootimage colibri-t20_512_v12_nand.img.cfg colibri-t20_512_v12_nand.img
+
tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg new file +452 -0

452 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.img.cfg new file +22 -0
new file mode 100644
index 0000000..541a02d
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
tegra20/toradex/colibri-t20/colibri-t20_256_v11_nand.bct.cfg new file +460 -0

460 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_256_v11_nand.img.cfg new file +22 -0
new file mode 100644
index 0000000..ad3e2a5
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
tegra20/toradex/colibri-t20/colibri-t20_256_v12_nand.bct.cfg new file +460 -0

460 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_256_v12_nand.img.cfg new file +22 -0
new file mode 100644
index 0000000..09e2445
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.bct.cfg new file +452 -0

452 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.img.cfg new file +22 -0
new file mode 100644
index 0000000..e97e3e2
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
tegra20/toradex/colibri-t20/colibri-t20_512_v11_nand.bct.cfg new file +460 -0

460 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_512_v11_nand.img.cfg new file +22 -0
new file mode 100644
index 0000000..9ae818d
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
tegra20/toradex/colibri-t20/colibri-t20_512_v12_nand.bct.cfg new file +460 -0

460 lines not on this page · raw message

tegra20/toradex/colibri-t20/colibri-t20_512_v12_nand.img.cfg new file +22 -0
new file mode 100644
index 0000000..e1e1694
@@ -0,0 +1,22 @@
+# Copyright (c) 2013, Lucas Stach
+#
+# 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.bin,0x00108000,0x00108000,Complete;
Signature · 1 line
1.8.3.1
#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · Lucas Stach

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

---
Submission is done with the consent of Toradex.

Lucas, is it possible to have someone from Toradex reply with a Signed-off-by line, in order to indicate their authorization to license the *.bct.cfg files (which are copyright Toradex in this patch) under the specified license? Thanks.

It's nice to see more vendor boards being supported here:-)

#4 lore raw
In reply to a message not in the archive

Hi Stephen,

Am Freitag, den 28.06.2013, 16:25 -0600 schrieb Stephen Warren:

Quoted 12 lines · Lucas Stach
Quoted 6 lines

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

---
Submission is done with the consent of Toradex.

Lucas, is it possible to have someone from Toradex reply with a Signed-off-by line, in order to indicate their authorization to license the *.bct.cfg files (which are copyright Toradex in this patch) under the specified license? Thanks.

Ok, I'm forwarding this to Toradex, but depending on the workload of the relevant people it may take some time until there is a reply.

On the other hand the submitted .bct.cfg files are not extracted from some binary BCTs, but I explicitly received them from Toradex with the appropriate licence header on top. So according to the Linux developer certificate of origin [1] my singed-off-by should be enough to clear up the legal things.

Quoted 2 lines

It's nice to see more vendor boards being supported here:-)

[1]
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file

#5 lore raw
Quoted 16 lines · Lucas Stach

Hi Stephen,

Am Freitag, den 28.06.2013, 16:25 -0600 schrieb Stephen Warren:

Quoted 12 lines · Lucas Stach
Quoted 6 lines

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

---
Submission is done with the consent of Toradex.

Lucas, is it possible to have someone from Toradex reply with a Signed-off-by line, in order to indicate their authorization to license the *.bct.cfg files (which are copyright Toradex in this patch) under the specified license? Thanks.

Quoted 8 lines

Ok, I'm forwarding this to Toradex, but depending on the workload of the relevant people it may take some time until there is a reply.

On the other hand the submitted .bct.cfg files are not extracted from some binary BCTs, but I explicitly received them from Toradex with the appropriate licence header on top. So according to the Linux developer certificate of origin [1] my singed-off-by should be enough to clear up the legal things.

It's great to hear the Toradex released this information. From my perspective, I'd simply like something in the commit log to record the fact that Toradex contributed the files that are marked as (c) Toradex, and that something would be the s-o-b line. Best practice would be if they had provided it along with the files they sent to you.

#6 lore raw
In reply to a message not in the archive
Quoted 4 lines · Lucas Stach

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg +0 -0

...

Quoted 3 lines
tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg +1 -0
+OdmData       = 0x200C0000;
tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.bct.cfg +0 -0

...

Quoted 1 line

+OdmData = 0x400C0000;

Those ODMDATA values don't look correct. The first nibble should be set as follows:

1: 256MiB
2: 512MiB
3: 1GiB

... and I assume that the "256" and "515" in the filenames represent the RAM size?

Nit: Many files have an extra blank line at the end.

#8 lore raw
In reply to a message not in the archive
Quoted 15 lines · Stephen Warren
Quoted 4 lines · Lucas Stach

The Colibri T20 COM comes in two different versions, which can both boot from NAND or SD-Card.

tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg +0 -0

...

Quoted 3 lines
tegra20/toradex/colibri-t20/colibri-t20_256_hsmmc.bct.cfg +1 -0
+OdmData       = 0x200C0000;
tegra20/toradex/colibri-t20/colibri-t20_512_hsmmc.bct.cfg +0 -0

...

Quoted 1 line

+OdmData = 0x400C0000;

Those ODMDATA values don't look correct. The first nibble should be set as follows:

Quoted 8 lines

1: 256MiB
2: 512MiB
3: 1GiB

... and I assume that the "256" and "515" in the filenames represent the RAM size?

Nit: Many files have an extra blank line at the end.

Lucas, any comment on the ODMDATA setting? That's all that's preventing this patch from being merged.