Skip to content

Enable DT support for AT91SAM9263EK

Sam Ravnborg barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5at91sam9263ek: enable multi-image buildarch/arm/boards/at91sam9263ek/lowlevel_init.c arch/arm/configs/at91sam9263ek_defconfig arch/arm/mach-at91/Kconfig +1 more+20 -100 replies
2/5at91sam9263ek: add DT file from Linux kernel v4.14-rc4arch/arm/boards/at91sam9263ek/lowlevel_init.c arch/arm/dts/Makefile arch/arm/dts/at91sam9263ek.dts +1 more+273 -41 reply
3/5at91sam9263ek: fix SD card in DTarch/arm/dts/at91sam9263ek.dts+8 -70 replies
4/5arm: at91: enable CPU specific init with OFarch/arm/mach-at91/generic.h arch/arm/mach-at91/setup.c+4 -60 replies
5/5at91sam9263ek: enable devicetreearch/arm/boards/at91sam9263ek/Makefile arch/arm/boards/at91sam9263ek/of_init.c arch/arm/configs/at91sam9263ek_defconfig +3 more+126 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Enable DT support for AT91SAM9263EK

This patchset enabledevice tree support for AT91SAM9263EK.

On the quest towards getting so far several drivers was converted to support DT.
These patches went in around august.

There was also issues with mach-at91 calling code in the board directory (dependency in the wrong direction).
This was fixed in "at91: move reset .." which is pending (already posted).

I have failed to get the bootstrap mode to work. It stops somewhere - and I have not invested enough time to figure out where and why things goes wrong. bootstrap mode was also broken before these patches. No JTAG debugger available to help me.
And then I have at91bootstrap that works so motivation was not too high.

I do not think the NAND support works either.
The device tree introduces some nand-controller stuff that is not supported by barebox (at least I assume so). And this part I did not look further into.

Next step is to get a proprietary board up and running (which uses NOR flash).
But I wanted this patchset out in the open first.

Any fedback highly appreciated!

Sam

Sam Ravnborg (5):
at91sam9263ek: enable multi-image build
at91sam9263ek: add DT file from Linux kernel v4.14-rc4
at91sam9263ek: fix SD card in DT
arm: at91: enable CPU specific init with OF
at91sam9263ek: enable devicetree

 arch/arm/boards/at91sam9263ek/Makefile        |   5 +
 arch/arm/boards/at91sam9263ek/lowlevel_init.c |  24 ++-
 arch/arm/boards/at91sam9263ek/of_init.c       |  98 ++++++++++
 arch/arm/configs/at91sam9263ek_defconfig      |  10 +-
 arch/arm/dts/Makefile                         |   2 +-
 arch/arm/dts/at91sam9263ek.dts                | 253 ++++++++++++++++++++++++++
 arch/arm/mach-at91/Kconfig                    |  30 ++-
 arch/arm/mach-at91/at91sam9263.c              |   8 +
 arch/arm/mach-at91/generic.h                  |   4 +
 arch/arm/mach-at91/setup.c                    |   6 -
 images/Makefile.at91                          |   4 +
 11 files changed, 424 insertions(+), 20 deletions(-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox