allow DTB to be appended to the ARM zImage with ATAG conversion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 of 4 patches 0 repliesNew
3 of 4 patches are in this archive. The cover letter announces 4.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 4/4 | ARM: zImage: allow supplementing appended DTB with traditional ATAG data | +0 | 0 replies | |
| 4/4 | ARM: zImage: allow supplementing appended DTB with traditional ATAG data | +0 | 0 replies | |
| 4/4 | ARM: zImage: allow supplementing appended DTB with traditional ATAG data | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] allow DTB to be appended to the ARM zImage with ATAG conversion
Quoted 7 lines · Nicolas Pitre
Yet another resend, this time with a patch to convert some ATAGs and fold them into the appended DTB. Additional ATAgs and their corresponding DTB representation is still up for discussion. In particular,
ATAG_REVISIONandATAG_SERIALwere mentioned as missing but there is no direct DT equivalent for them. One suggestion was to fold them into the kernel cmdline string. Anything else?
Quoted 6 lines
Testing would also be appreciated.
[PATCH 1/4] ARM: zImage: ensure it is always a multiple of 64 bits in size [PATCH 2/4] ARM: zImage: Allow the appending of a device tree binary [PATCH 3/4] ARM: zImage: make sure appended DTB doesn't get overwritten by kernel .bss [PATCH 4/4] ARM: zImage: allow supplementing appended DTB with traditional ATAG data
The first three appear to be in Grant's devicetree/arm branch (as far as I can tell), so I've tested the last one.
I get the same behavior on MSM8660, this works as long as the DTB has the attributes with enough padding in them to hold the values written. If the fdt code tries expanding the tree (I create the DTB sith -p 1024), then my device goes off in the weeds somewhere. I'm trying to track this down, it seems to be failing in a memmove, even though that memmove appears valid to me. I'm still investigating that.
Otherwise, it looks good.
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.