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 <kiku...@centurysys.co.jp>
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 f8008000.ether...@f8008000.of: Cadence GEM at 0xf8008000
> atmel-ehci 500000.e...@500000.of: USB EHCI 1.00
> atmel_spi f8000000....@f8000000.of: version: 0x311
> m25p80 m25p80@00: at25df321a (4096 Kbytes)
> sama5d2-sdhci a0000000.sdio-h...@a0000000.of: registered as emmc
> emmc: detected MMC card version 4.41
> emmc: Capacity: 1872 MiB
> emmc: registered emmc
> sama5d2-sdhci b0000000.sdio-h...@b0000000.of: 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
> kiku...@centurysys.co.jp
>


-- 
Adam Feuer <a...@starcat.io>

Reply via email to