* [Buildroot] Build for sama5d3 mmc doesn't boot
@ 2018-03-28 21:53 Matthew Weber
2018-03-28 23:18 ` Joshua Henderson
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Weber @ 2018-03-28 21:53 UTC (permalink / raw)
To: buildroot
Using buildroot LTS 2018.02
I built the atmel_sama5d3_xplained_mmc_dev_defconfig using the linaro
2017.11 GCC7 toolchain and I only see the following output when I try
to boot from the SDCard.
RomBOOT
AT91Bootstrap 3.8.9 (Wed Mar 28 08:52:16 CDT 2018)
I've kicked off another build defaulting back to a buildroot toolchain
(GCC6.x) and glibc.
--
Matthew L Weber / Pr Software Engineer
Airborne Information Systems / Security Systems and Software / Secure Platforms
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
www.rockwellcollins.com
Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Build for sama5d3 mmc doesn't boot
2018-03-28 21:53 [Buildroot] Build for sama5d3 mmc doesn't boot Matthew Weber
@ 2018-03-28 23:18 ` Joshua Henderson
2018-03-29 15:41 ` Matthew Weber
0 siblings, 1 reply; 6+ messages in thread
From: Joshua Henderson @ 2018-03-28 23:18 UTC (permalink / raw)
To: buildroot
Matthew,
On 03/28/2018 02:53 PM, Matthew Weber wrote:
> Using buildroot LTS 2018.02
>
>
> I built the atmel_sama5d3_xplained_mmc_dev_defconfig using the linaro
> 2017.11 GCC7 toolchain and I only see the following output when I try
> to boot from the SDCard.
>
> RomBOOT
>
> AT91Bootstrap 3.8.9 (Wed Mar 28 08:52:16 CDT 2018)
I can reproduce. This is fixed in at91bootstrap v3.8.10. See here [1].
Give me a bit to do some more testing and I'll update the defconfigs.
In the meantime, if you're trying to get past this, set
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" and you should
be good to go.
[1]: https://github.com/linux4sam/at91bootstrap/commit/fb47cd7e5fddf8b924d92ede1da61d416e7ef81c
>
>
>
> I've kicked off another build defaulting back to a buildroot toolchain
> (GCC6.x) and glibc.
>
This works (for now). The issue is gcc >= 7.
Josh
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Build for sama5d3 mmc doesn't boot
2018-03-28 23:18 ` Joshua Henderson
@ 2018-03-29 15:41 ` Matthew Weber
2018-03-29 16:26 ` Matthew Weber
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Weber @ 2018-03-29 15:41 UTC (permalink / raw)
To: buildroot
Joshua,
On Wed, Mar 28, 2018 at 6:18 PM, Joshua Henderson
<joshua.henderson@microchip.com> wrote:
> Matthew,
>
>
> I can reproduce. This is fixed in at91bootstrap v3.8.10. See here [1].
> Give me a bit to do some more testing and I'll update the defconfigs.
> In the meantime, if you're trying to get past this, set
> BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" and you should
> be good to go.
>
> [1]: https://github.com/linux4sam/at91bootstrap/commit/fb47cd7e5fddf8b924d92ede1da61d416e7ef81c
I tried that change to the boot strap with a buildroot toolchain GCC6
with the 3.8.10 and nothing output. Didn't test with GCC7, I'll kick
that off.
>
>>
>>
>>
>> I've kicked off another build defaulting back to a buildroot toolchain
>> (GCC6.x) and glibc.
>>
***Confirmed GCC6 does work.
RomBOOT
AT91Bootstrap 3.8.9 (Thu Mar 29 10:36:02 CDT 2018)
SD/MMC: Image: Read file u-boot.bin to 0x26f00000
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>
U-Boot 2017.03-linux4sam_5.7 (Mar 29 2018 - 10:36:07 -0500)
CPU: SAMA5D36
Crystal frequency: 12 MHz
CPU clock : 528 MHz
Master clock : 132 MHz
DRAM: 256 MiB
NAND: 256 MiB
Matt
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Build for sama5d3 mmc doesn't boot
2018-03-29 15:41 ` Matthew Weber
@ 2018-03-29 16:26 ` Matthew Weber
2018-03-29 17:11 ` Matthew Weber
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Weber @ 2018-03-29 16:26 UTC (permalink / raw)
To: buildroot
Joshua,
On Thu, Mar 29, 2018 at 10:41 AM, Matthew Weber
<matthew.weber@rockwellcollins.com> wrote:
> Joshua,
>
> On Wed, Mar 28, 2018 at 6:18 PM, Joshua Henderson
> <joshua.henderson@microchip.com> wrote:
>> Matthew,
>>
>
>>
>> I can reproduce. This is fixed in at91bootstrap v3.8.10. See here [1].
>> Give me a bit to do some more testing and I'll update the defconfigs.
>> In the meantime, if you're trying to get past this, set
>> BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" and you should
>> be good to go.
>>
>> [1]: https://github.com/linux4sam/at91bootstrap/commit/fb47cd7e5fddf8b924d92ede1da61d416e7ef81c
>
> I tried that change to the boot strap with a buildroot toolchain GCC6
> with the 3.8.10 and nothing output. Didn't test with GCC7, I'll kick
> that off.
3.8.10 does work with GCC7, just not GCC6 :-(
RomBOOT
AT91Bootstrap 3.8.10 (Thu Mar 29 11:21:28 CDT 2018)
SD/MMC: Image: Read file u-boot.bin to 0x26f00000
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image
<debug_uart>
U-Boot 2017.03-linux4sam_5.7 (Mar 29 2018 - 11:21:32 -0500)
CPU: SAMA5D36
Crystal frequency: 12 MHz
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Build for sama5d3 mmc doesn't boot
2018-03-29 16:26 ` Matthew Weber
@ 2018-03-29 17:11 ` Matthew Weber
2018-03-29 18:12 ` Joshua Henderson
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Weber @ 2018-03-29 17:11 UTC (permalink / raw)
To: buildroot
Joshua,
On Thu, Mar 29, 2018 at 11:26 AM, Matthew Weber
<matthew.weber@rockwellcollins.com> wrote:
> Joshua,
>
> On Thu, Mar 29, 2018 at 10:41 AM, Matthew Weber
> <matthew.weber@rockwellcollins.com> wrote:
>> Joshua,
>>
>> On Wed, Mar 28, 2018 at 6:18 PM, Joshua Henderson
>> <joshua.henderson@microchip.com> wrote:
>>> Matthew,
>>>
>>
>>>
>>> I can reproduce. This is fixed in at91bootstrap v3.8.10. See here [1].
>>> Give me a bit to do some more testing and I'll update the defconfigs.
>>> In the meantime, if you're trying to get past this, set
>>> BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" and you should
>>> be good to go.
>>>
>>> [1]: https://github.com/linux4sam/at91bootstrap/commit/fb47cd7e5fddf8b924d92ede1da61d416e7ef81c
>>
>> I tried that change to the boot strap with a buildroot toolchain GCC6
>> with the 3.8.10 and nothing output. Didn't test with GCC7, I'll kick
>> that off.
>
> 3.8.10 does work with GCC7, just not GCC6 :-(
Ignore that comment, I introduced a bug in a bad build. GCC6/7 both
work with 3.8.10 and only GCC6 with 3.8.9 like it should
Thanks again for the help!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Build for sama5d3 mmc doesn't boot
2018-03-29 17:11 ` Matthew Weber
@ 2018-03-29 18:12 ` Joshua Henderson
0 siblings, 0 replies; 6+ messages in thread
From: Joshua Henderson @ 2018-03-29 18:12 UTC (permalink / raw)
To: buildroot
Matthew,
On 03/29/2018 10:11 AM, Matthew Weber wrote:
> Joshua,
>
> On Thu, Mar 29, 2018 at 11:26 AM, Matthew Weber
> <matthew.weber@rockwellcollins.com> wrote:
>> Joshua,
>>
>> On Thu, Mar 29, 2018 at 10:41 AM, Matthew Weber
>> <matthew.weber@rockwellcollins.com> wrote:
>>> Joshua,
>>>
>>> On Wed, Mar 28, 2018 at 6:18 PM, Joshua Henderson
>>> <joshua.henderson@microchip.com> wrote:
>>>> Matthew,
>>>>
>>>
>>>>
>>>> I can reproduce. This is fixed in at91bootstrap v3.8.10. See here [1].
>>>> Give me a bit to do some more testing and I'll update the defconfigs.
>>>> In the meantime, if you're trying to get past this, set
>>>> BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" and you should
>>>> be good to go.
>>>>
>>>> [1]: https://github.com/linux4sam/at91bootstrap/commit/fb47cd7e5fddf8b924d92ede1da61d416e7ef81c
>>>
>>> I tried that change to the boot strap with a buildroot toolchain GCC6
>>> with the 3.8.10 and nothing output. Didn't test with GCC7, I'll kick
>>> that off.
>>
>> 3.8.10 does work with GCC7, just not GCC6 :-(
>
> Ignore that comment, I introduced a bug in a bad build. GCC6/7 both
> work with 3.8.10 and only GCC6 with 3.8.9 like it should
>
Excellent. We are seeing the same thing. Patch to follow.
Josh
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-03-29 18:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-28 21:53 [Buildroot] Build for sama5d3 mmc doesn't boot Matthew Weber
2018-03-28 23:18 ` Joshua Henderson
2018-03-29 15:41 ` Matthew Weber
2018-03-29 16:26 ` Matthew Weber
2018-03-29 17:11 ` Matthew Weber
2018-03-29 18:12 ` Joshua Henderson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.