ali1234 / rpi-ramdisk

Builds ramdisk environments for Raspberry Pi
88 stars 20 forks source link

Will this works on raspberry pi 4 #19

Open changsheng1239 opened 4 years ago

changsheng1239 commented 4 years ago

Built it and try to run on the latest raspberry pi 4 and it's not booting at all. Seems like the .elf files are not compatible.

I also tried generating a CPIO archive from the latest official boot archive. updated the config.txt and cmdline.txt like the one in this repo, and it boots up but seems like not able to mount the rootfs from ram. Probably something wrong with my config.txt or cmdline.txt?

cmdline.txt:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 elevator=deadline rootwait consoleblank=0 rootfstype=ramfs

config.txt:

dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d

initramfs initrd