repk / gxlimg

Boot Image creation tool for amlogic s905x (GXL)
BSD 2-Clause "Simplified" License
56 stars 27 forks source link

Add necessary to extract v3 FIPs #15

Closed superna9999 closed 2 years ago

superna9999 commented 2 years ago

The V3 FIPs are generated for AXG and G12A/G12B/SM1 BootROMs.

The main difference is that the TOC is in clear and located right after the BL2. For G12A/G12B/SM1 the BL2 is larger (64K instead of 48K).

superna9999 commented 2 years ago

First of all thanks a lot for this work this is really appreciated.

This is the first step of the work, I'm adding FIP creation at https://github.com/superna9999/gxlimg/tree/fip_v3

Sorry for the annoying coding style comments but I've seen you fixed that while I tried to get my hand on github review tool.

No problem, I try to match the coding style, no problem to correct !

I have added a question about the new TOC UIDs, if in your experience you haven't seen any such TOC entries in v2 images I'll will merge this PR as is, on the other side if you think it can be used for v2 images as well I am wondering if it would be woth to put them in a separate commit.

AFAIK I've only seen then on v3

repk commented 2 years ago

First of all thanks a lot for this work this is really appreciated.

This is the first step of the work, I'm adding FIP creation at https://github.com/superna9999/gxlimg/tree/fip_v3

Wow this is a pleasant surprise thanks a lot for the work. Maybe if FIP creation for v3 get merged at some point I would rename this as amlimg as stated here https://github.com/repk/gxlimg/issues/12.

superna9999 commented 2 years ago

First of all thanks a lot for this work this is really appreciated.

This is the first step of the work, I'm adding FIP creation at https://github.com/superna9999/gxlimg/tree/fip_v3

Wow this is a pleasant surprise thanks a lot for the work. Maybe if FIP creation for v3 get merged at some point I would rename this as amlimg as stated here #12.

Yep this work was triggered by https://groups.io/g/u-boot-amlogic/topic/87281853#1250 having an open source alternative would be much better if we pushed it in binman !