[U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c
Marek Vasut
marex at denx.de
Sun Apr 29 11:10:42 CEST 2012
Dear Pali Rohár,
> On Sunday 29 April 2012 00:15:23 Marek Vasut wrote:
> > Won't it be easier to create a preprocessing function that'd
> > fill gd properly, so uboot can generate the atags through
> > standard means then?
>
> Do you mean to generate/copy other atags in board code? This will
> not work because u-boot (in bootm.c) always passing ATAG_CORE in
> function setup_start_tag. And I do not want to pass ATAG_CORE two
> times to kernel (once which I copy from other bootloader and once
> which generate u-boot).
No, I mean parse the old ATAGS from nolo and fill u-boot's internal structures
with that. Then let uboot generate the ATAGS from it's internal structures as
usual.
Best regards,
Marek Vasut
More information about the U-Boot
mailing list