Hi all, sorry I made a mess with crux-arm mailing list that blocked my mails because they are too big, I made some steps and I would like to share with you. This is the mail that I wrote yesterday cheers Guido Hi again, First of all please forgive me for the image attached yesterday, I didn't know how to let you see the kernel panic. I took a small step forward after I cross compiled init: no more kernel panic, but it seems that it doesn't load /etc/rc.multi: *runs /sbin/init as init process* *INIT: version 2.96 booting* *INIT: entering run level 2* *CRUX-ARM (none) (tty1)* *(none) login:* I then cross compiled all sysvinit package but nothing changed. Same sdcard is still working perfect on a PI 3 Any ideas? Have a nice day Guido Il giorno sab 28 mar 2020 alle ore 17:02 <pitillo@crux-arm.nu> ha scritto:
Checking the error the kernel seems to be right and the problem begins with the init, so may be it's not compatible with the device. I was reading about rpi zero cflags and how they force armv6.
So a good way to test It could be uncompressing the release on a debían image and try to jail with chroot (or look for a static binary and run It), probably the result Will be the same.
Regards,
El 26 mar. 2020 18:24, Guido Caliandro <guido.caliandro@gmail.com> escribió:
Hi all thank you very much for your support
I started with raspberry kernel from github and I had kernel panic, that's why I cross compiled kernel with bcmrpi_defconfig configuration as suggested on raspberry pi site. To be sure that my crosstools is ok, I also compiled bcm2709_defconfig for my PI 3 and bcm2711_defconfig for my PI 4 and all of them are working great. This is my kernel panic on PI zero:
I then launched raspbian (that works ok... only soooo slow!) and you can see /proc/cpuinfo and dmesg below. At the moment I'm trying to compile with last conf that I see on source code: bcm2835_defconfig .... I'll let you know...
Thanks again Ciao
Guido
/proc/cpuinfo: --------------- processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7
Hardware : BCM2835 Revision : 9000c1 Serial : 00000000c0129f5e Model : Raspberry Pi Zero W Rev 1.1 ------------