Repository navigation
anyka: EV200: osmem 40M, the rest of the 64 MiB is video memory - #112
Conversation
OpenIPC's EV200 kernel now runs from the bottom of DDR and gives the ISP and the encoder the DDR above mem=, totalmem - osmem, as the other OpenIPC SoCs do. With mem=64M there is none. Default osmem to 40M on the EV200, the split the vendor firmware uses (24 of the 64 MiB for video). The EV300 and EV330 keep all of it. Verified on qemu-hisilicon ak3918ev200: this U-Boot with an empty environment and an OpenIPC/firmware ak3918ev200_lite image boots with mem=40M, the kernel reserves 24 MiB at 0x82800000 for video, and it reaches the login prompt.
PR Summary by QodoReserve 24 MiB of EV200 DDR for video
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Existing cameras lose video memory
|
|
On the Qodo finding (saved environments keep |
Default
osmemto 40M on the AK3918EV200; EV300 and EV330 keep all of their DDR.OpenIPC's EV200 kernel (OpenIPC/linux#186) now runs from the bottom of DDR and gives the ISP and the encoder the DDR above
mem=, totalmem - osmem, as the other OpenIPC SoCs do. Withosmem=64Mthere is no video memory left. 40M is the split the vendor firmware uses: Linux 40 MiB, video 24 of the 64. Boards already in the field get the same value from the firmware'sload_anykaon first boot. Themem=note in CLAUDE.md is updated to match.Verified on qemu-hisilicon
ak3918ev200: this U-Boot with an empty environment plus an OpenIPC/firmwareak3918ev200_liteimage boots withmem=40M, the kernel reserves24 MiB at 0x82800000 for video, and it reaches the login prompt. The image is 232764 bytes.