Takeyoshi,

Fantastic! Thank you! The patches worked and I have a serial console on the
SAMA5D27! I'll create a PR for these patches, crediting you.

cheers
adam

On Fri, Feb 28, 2020 at 8:09 AM Adam Feuer <[email protected]> wrote:

> Thanks Takeyoshi, I'll try your patches today! And thanks for the pointer
> to barebox, I didn't know about it. I am glad it supports the AT91 SAMA5
> boards.
>
> cheers
> adam
>
> On Fri, Feb 28, 2020 at 4:17 AM Takeyoshi Kikuchi <
> [email protected]> wrote:
>
>> Hi,
>>
>> I also debugged on the same board and confirmed that it works, so I will
>> send a patch.
>> Booting from barebox with bootm command.
>>
>> ---------------------------------------
>> RomBOOT
>>
>>
>> AT91Bootstrap 3.9.1-rc1-00001-g888c3a1 (Sat Dec 21 17:20:28 JST 2019)
>>
>> MMC: ADMA supported
>> SD/MMC: Done to load image
>>  >AT91: Detected soc type: sama5d2
>> AT91: Detected soc subtype: sama5d27cu
>> Switch to console [cs0]
>>
>>
>> barebox 2019.12.0-00227-gba23fe8ae-dirty #124 Fri Jan 3 12:06:43 JST 2020
>>
>>
>> Board: Atmel SAMA5D2 Xplained
>> AT91: Detected soc type: sama5d2
>> AT91: Detected soc subtype: sama5d27cu
>> mdio_bus: miibus0: probed
>> macb [email protected]: Cadence GEM at 0xf8008000
>> atmel-ehci [email protected]: USB EHCI 1.00
>> atmel_spi [email protected]: version: 0x311
>> m25p80 m25p80@00: at25df321a (4096 Kbytes)
>> sama5d2-sdhci [email protected]: registered as emmc
>> emmc: detected MMC card version 4.41
>> emmc: Capacity: 1872 MiB
>> emmc: registered emmc
>> sama5d2-sdhci [email protected]: registered as sd
>> sd: detected SD card version 2.0
>> sd: Capacity: 1910 MiB
>> sd: registered sd
>> malloc space: 0x2fdfe640 -> 0x3fdfe63f (size 256 MiB)
>> envfs: no envfs (magic mismatch) - envfs never written?
>>
>> Hit any to stop autoboot:    3
>> barebox:/ bootm /mnt/sd/nuttx
>>     Image Name:   nuttx
>>     Created:      2020-02-28  12:07:26 UTC
>>     OS:           Linux
>>     Architecture: ARM
>>     Type:         Kernel Image
>>     Compression:  uncompressed
>>     Data Size:    135040 Bytes = 131.9 KiB
>>     Load Address: 20008000
>>     Entry Point:  20008040
>>
>> Loading U-Boot uImage '/mnt/sd/nuttx'
>> commandline:  console=ttyS0,115200
>>
>> NuttShell (NSH) NuttX-8.2
>> nsh>
>> ---------------------------------------
>>
>> cheers
>> Takeyoshi Kikuchi
>>
>> --
>> ---------------------------------
>> Takeyoshi Kikuchi
>> [email protected]
>>
>
>
> --
> Adam Feuer <[email protected]>
>


-- 
Adam Feuer <[email protected]>

Reply via email to