Hi MOHAMMED,

On Thu, Apr 6, 2023 at 7:06 AM MOHAMMED HASSAN
<[email protected]> wrote:
>
> Hi guys,
> I really need your help in solving this issue.
> I want to add nodejs to my image and added the line IMAGE_INSTALL_append += " 
> nodejs "
> to my local.conf file, but got the error message
> ERROR: core-image-minimal-1.0-r0 do_image_cpio: The initramfs size 171613(K) 
> exceeds INITRAMFS_MAXSIZE: 131072(K)
> ERROR: core-image-minimal-1.0-r0 do_image_cpio: You can set INITRAMFS_MAXSIZE 
> a larger value. Usually, it should
> ERROR: core-image-minimal-1.0-r0 do_image_cpio: be less than 1/2 of ram size, 
> or you may fail to boot it.
>
> ERROR: Logfile of failure stored in: 
> /home/mohan/amlogic/build/tmp/work/mesons4_lib32_ap222-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_cpio.211614
> ERROR: Task 
> (/home/mohan/amlogic/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_cpio)
>  failed with exit code '1'
>
> I tried to solve this by adding the line
> INITRAMFS_MAXSIZE = "524288000"  to my local.conf file and it compiled 
> successfully. But the OS flashing failed.
> I have been stuck with this issue for a very long time and need your support 
> in this issue. I have attached all the log files or necessary files for you 
> to refer.
You didn't add log from flashing where it fails. Can you set
INITRAMFS_MAXSIZE to only 200M or so? Also from logs it looks like
you're using amlogic. Can you maybe ask for support from your vendor?
>
> Thanks and regards,
> Hassan
>
>
>
>
> 
>

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59624): https://lists.yoctoproject.org/g/yocto/message/59624
Mute This Topic: https://lists.yoctoproject.org/mt/98099160/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to