2017-05-07, 05:01 PM
(2017-05-07, 03:09 PM)CVL Wrote: Trying to get more logs, I stumbled upon information about NOOBS partitioning problems. With NOOBS, the boot partition is #6 and partition #1 a recovery partition. I reckoned that the "safe mode" was actually the recovery partition booting. I tried to put the normal boot files (kernel.img, kernel7.img, cmdline.txt, config.txt) into the first partition and it booted all-right. So my problem has nothing to do with the GPIO nor custom kernel, but with the partition layout of NOOBS. This explains why OP 0.8 was booting fine with it's simple partition layout.
So the Pi with the Pico attached boots always the first partition, no matter what cmdline.txt says, or the partition.json in the SETTINGS partition. I asked on the Pîco forum if this is expected behaviour, I will report back.
Ok. So the problem is that you changed the cmdline.txt to:
Code:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
It says you only should delete the red part. So it should look like this:
Code:
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait