[PATCH 2/2] Documentation: user: barebox: mention generic dt 2nd stage support
Frank Wunderlich
frank-w at public-files.de
Mon Feb 7 01:36:42 PST 2022
Am 7. Februar 2022 09:34:40 MEZ schrieb Sascha Hauer <sha at pengutronix.de>:
>On Mon, Feb 07, 2022 at 09:14:51AM +0100, Ahmad Fatoum wrote:
>> Hello Sascha,
>>
>> On 07.02.22 09:00, Sascha Hauer wrote:
>> > On Sun, Feb 06, 2022 at 12:19:30AM +0100, Ahmad Fatoum wrote:
>> >> Most users interested in chainloading barebox will probably want
>to use
>> >> the generic DT format for that: It will pass the checks the boot
>command
>> >> may have and it will ensure the system is in the correct state,
>e.g.
>> >> that caches are disabled.
>> >>
>example:
>> >> +
>> >> +.. code-block:: console
>> >> +
>> >> + U-Boot: tftp $kernel_addr barebox-dt-2nd.img
>> >> + U-Boot: tftp $fdt_addr my-board.dtb
>> >> + U-Boot: booti $kernel_addr - $fdt_addr
>> >> +
>> This is what the documentation is saying right now. It only appeared
>> in the diff, because I rephrased the start a bit. I don't have a
>> 32-bit ARM U-Boot here to test, so I'd rather not rewrite that part
>> myself.
>
>Well you've introduced the part to use the bootm command yourself :)
>
>commit 3a14fb79153af84323fee8308989011cd05c7d96
>Author: Ahmad Fatoum <a.fatoum at pengutronix.de>
>Date: Mon Jun 17 16:18:46 2019 +0200
>
>However, I obviously failed to review this properly. I'll create a
>patch
>for that.
>
>Sascha
In barebox "bootm flashable.img" works, in uboot it is booti with barebox-dt-2nd.img +fdt like example. I have a armhf bananapi r2 (mt7623),but it looks not supported by barebox
regards Frank
More information about the barebox
mailing list