[linux-sunxi] Re: [PATCH v3 0/3] tools/sunxi: Use mkimage for SPL generation

2020-11-18 Thread Samuel Holland
On 11/18/20 11:32 AM, Andre Przywara wrote: > Andre Przywara (3): > sunxi: Factor out eGON BROM header description > tools: mkimage: Add Allwinner eGON support > sunxi: Use mkimage for SPL boot image generation > > arch/arm/include/asm/arch-sunxi/spl.h | 65 +--- > common/image.c

[linux-sunxi] Re: [PATCH v3 2/3] tools: mkimage: Add Allwinner eGON support

2020-11-18 Thread Samuel Holland
On 11/18/20 11:32 AM, Andre Przywara wrote: > So far we used the separate mksunxiboot tool for generating a bootable > image for Allwinner SPLs, probably just for historical reasons. > > Use the mkimage framework to generate a so called eGON image the > Allwinner BROM expects. > The new image

[linux-sunxi] [PATCH v3 3/3] sunxi: Use mkimage for SPL boot image generation

2020-11-18 Thread Andre Przywara
Switch the SPL boot image generation from using mksunxiboot to the new sunxi_egon format of mkimage. Verified to create identical results for all 152 Allwinner boards. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass Reviewed-by: Jagan Teki --- scripts/Makefile.spl | 8 1 file

[linux-sunxi] [PATCH v3 2/3] tools: mkimage: Add Allwinner eGON support

2020-11-18 Thread Andre Przywara
So far we used the separate mksunxiboot tool for generating a bootable image for Allwinner SPLs, probably just for historical reasons. Use the mkimage framework to generate a so called eGON image the Allwinner BROM expects. The new image type is called "sunxi_egon", to differentiate it from the

[linux-sunxi] [PATCH v3 1/3] sunxi: Factor out eGON BROM header description

2020-11-18 Thread Andre Przywara
To be able to easily share the Allwinner eGON BROM header structure between the tools and the SPL code, move the struct definition into a separate header file. Signed-off-by: Andre Przywara --- arch/arm/include/asm/arch-sunxi/spl.h | 65 + include/sunxi_image.h

[linux-sunxi] [PATCH v3 0/3] tools/sunxi: Use mkimage for SPL generation

2020-11-18 Thread Andre Przywara
Hi, an update addressing Samuel's review comments and fixing the broken tools-only build. == So far creating a bootable SPL image for Allwinner based boards uses the mksunxiboot tool. Most other platforms seemed to have integrated this kind of functionality into the common

[linux-sunxi] Re: [PATCH v3] sunxi: add PineCube board

2020-11-18 Thread André Przywara
On 18/11/2020 10:27, Icenowy Zheng wrote: > PineCube is an IP camera development kit released by Pine64. > > It comes with the following compoents: > > - A mainboard with Sochip S3 SoC, a 16MByte SPI Flash, AXP209 PMIC, > a power-only microUSB connector, a USB Type-A connector, a 10/100Mbps >

[linux-sunxi] [PATCH v3] sunxi: add PineCube board

2020-11-18 Thread Icenowy Zheng
PineCube is an IP camera development kit released by Pine64. It comes with the following compoents: - A mainboard with Sochip S3 SoC, a 16MByte SPI Flash, AXP209 PMIC, a power-only microUSB connector, a USB Type-A connector, a 10/100Mbps Ethernet port and FPC connectors for camera and daughter

[linux-sunxi] Re: [PATCH v2] sunxi: add PineCube board

2020-11-18 Thread André Przywara
On 18/11/2020 06:29, Icenowy Zheng wrote: > PineCube is an IP camera development kit released by Pine64. > > It comes with the following compoents: > > - A mainboard with Sochip S3 SoC, a 16MByte SPI Flash, AXP209 PMIC, > a power-only microUSB connector, a USB Type-A connector, a 10/100Mbps >