ALIBERA / linux_book_2nd_edition

linux driver development for embedded processors 2nd edition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kernel on Raspi 4 (practical labs)

cucujoidea opened this issue · comments

Hello Alberto Liberal,
in the process of installing RaspiOS ( https://downloads.raspberrypi.org/raspios_full_armhf/images/raspios_full_armhf-2021-01-12/ ) (which boots to the desktop) and then installing a kernel with the instructions from https://github.com/ALIBERA/linux_book_2nd_edition/blob/master/Linux_5.4_rpi4_practical_labs.pdf , downloaded from https://github.com/raspberrypi/linux/tree/rpi-5.4.y , then the boot fails:
/sbin/init exists but couldn't execute
/etc/init exists but couldn't execute
the first file exists, as a link. the link points to /lib/systemd/systemd , but the directory systemd does not exist. It may be, that the raspios_full_armhf-2021-01-12/2021-01-11-raspios-buster-armhf-full.zip is rather lite than full, without systemd. Could you please give a hint how to include missing things in the compilation (of the kernel)?
Regards,
c

Works with a better card reader.... looks like there was a file(system) error caused by problems with the old card reader during copying to the sd card.