> On Mar 8, 2017, at 5:18 AM, Andrey Smirnov <andrew.smir...@gmail.com> wrote: > > On Tue, Mar 7, 2017 at 12:58 PM, Sam Ravnborg <s...@ravnborg.org> wrote: >>>> >>>> When booting from an SD-Card/NOR-Flash/USB would I then need >>>> to use at91bootstrap, or can I use only barebox? >>>> >>>> If I move forward with this and I can find an 9263 >>>> evaluation kit I would then also update this. >>> On 9263 the sram is huge so you can build barebox as first stage >> >> Good - simplicity is good. >> > > For at91sam9x5ek I had to use at91bootstrap since there is first > stage loader in Barebox for it. I don't know about 9263, but I trust > Jean-Christophe to be correct on this one.
I’ve patch for all the at91 soc for the pbl and nand and mmc but I’m really busy those days on EFI boot support and secure boot. To be able to pass microsoft certification so we can use barebox to boot linux or even windows. So I’ll try to dig them later Best Regards, J. > >>> >>> I add this a long time ago on usb_a9263_bootstrap_defconfig >>> or other (all the EK). >>> >>> This will build a barebox that can load you image from multiple source in a >>> sequence >>> >>> and then use a std barebox >>> >>> To switch to DT you will have to import the DT I did for the kernel >> OK, should be straighforward. >> >>> and replace the hw i2c by a i2c gpio as the i2c IP on at91 has a lot of >>> quirks >>> and for barebox it will not make sense to port it >> Seems less straightforward but doable. >> > > Not sure what the situation on 9263 is, but FWIW, kernel DT file from > the kernel for 9x5ek secifies I2C0 as GPIO bitbanged on, and I believe > I had it working so hopefully it would be just a DT related change > that you'd need to do. > > Thanks, > Andrey Smirnov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox