BartAfterDark
to the end of it before "
Thank you for your hints! I tried to follow your instructions, but i can't find a " in my boot.cmd
I added ahci_sunxi.enable_pmp=1 to the end of the line with setenv and compiled: the pi didn't start anymore.
Do you have any idea or hint?
My original, working (compiled) boot.cmd
Code:
setenv bootargs console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output$
#--------------------------------------------------------------------------------------------------------------------------------
# Boot loader script to boot with different boot methods for old and new kernel
#--------------------------------------------------------------------------------------------------------------------------------
if ext4load mmc 0 0x00000000 /boot/.next || fatload mmc 0 0x00000000 .next
then
# sunxi mainline kernel
#--------------------------------------------------------------------------------------------------------------------------------
ext4load mmc 0 0x49000000 /boot/dtb/${fdtfile} || fatload mmc 0 0x49000000 /dtb/${fdtfile}
ext4load mmc 0 0x46000000 /boot/zImage || fatload mmc 0 0x46000000 zImage
env set fdt_high ffffffff
bootz 0x46000000 - 0x49000000
#--------------------------------------------------------------------------------------------------------------------------------
else
# sunxi android kernel
#--------------------------------------------------------------------------------------------------------------------------------
ext4load mmc 0 0x43000000 /boot/script.bin || fatload mmc 0 0x43000000 script.bin
ext4load mmc 0 0x48000000 /boot/zImage || fatload mmc 0 0x48000000 zImage
bootz 0x48000000
My non-working boot.cmd:
Code:
setenv bootargs console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output$ ahci_sunxi.enable_pmp=1
[...]
Edit (add-it):
I opened /etc/modprobe.d/ahci-sunxi.conf (it was empty?) and added
Code:
options ahci-sunxi enable_pmp=1
after doing so, saving, rebooting, i got the dmesg-output (only the relevant part):
Code:
[ 3.675440] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 3.675489] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 3.675524] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 3.675537] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[ 3.676842] scsi host0: ahci-sunxi
[ 3.677253] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
Thanks for any hint!