(05-09-2018, 05:20 AM)pfeerick Wrote:(05-09-2018, 02:57 AM)marcelser Wrote: PS: Why is it so complicated on the PineA64 when on Raspberry I can just modify cmdline.txt and I'm done?
Because it's not the Raspberry Pi!![]()
I'm pretty sure what you're after is '/boot/efi/extlinux/extlinux.conf' where you'll see the list of parameters that are passed to the kernel.
If you can force a fsck may be a different thing... let us know how you go!![]()
(btw, initrd and the kernel stuff shouldn't be that much different to a normal PC, etc... it's the SPL and uboot that is different... and building and making changes there really is rocket science)
Thanks for trying to help, but there's no such thing as an 'efi' directory in boot partition, here's what "ls -l" actually shows:
Code:
total 2142
-rwxr-xr-x 1 root root 3129 Oct 24 2017 first-boot.log
-rwxr-xr-x 1 root root 3485 Jun 16 2017 first-boot.sh
-rwxr-xr-x 1 root root 28 Mar 11 2017 Image.version
-rwxr-xr-x 1 root root 1094464 Mar 11 2017 initrd.img
-rwxr-xr-x 1 root root 1076339 Nov 15 00:10 initrd_wait.img
-rwxr-xr-x 1 root root 571 Oct 24 2017 openhabian.conf
drwxr-xr-x 2 root root 2048 Mar 11 2017 pine64
drwxr-xr-x 2 root root 2048 Oct 24 2017 System Volume Information
-rwxr-xr-x 1 root root 218 May 9 11:04 uEnv.txt
-rwxr-xr-x 1 root root 214 Nov 15 00:35 uEnv.txt.working
[13:43:28] openhabian@openHABian:/boot$
Any ideas?
I finally did it. It was in the end uEnv.txt (but you have to add it to the first line not as separate line) but in the end in syslog it seems it did not repair it, what I see is this:
May 9 13:51:43 openHABian kernel: [ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend mac_addr=b2:11:d4:e2:6d:c2 fsck.mode=force earlycon=uart,mmio32,0x01c28000 mac_addr= root=UUID=4ee1919c-77a3-4222-88cb-388c56afef93 ro rootwait
May 9 13:51:43 openHABian systemd-fsck[379]: fsck.fat 3.0.28 (2015-05-16)
May 9 13:51:43 openHABian systemd-fsck[379]: /dev/mmcblk0p1: 18 files, 6956/25541 clusters
May 9 13:51:43 openHABian kernel: [ 10.333694] EXT4-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended