[linux-espressobin] SATA is not working

Problems with packages? Post here, using [tags] of the package name.

[linux-espressobin] SATA is not working

Postby teus » Fri Nov 13, 2020 1:28 pm

Follow-up of
viewtopic.php?f=15&t=14296&p=63138#p63138
viewtopic.php?f=15&t=13675

Updating the kernel beyond linux-espressobin-5.0.9-1-aarch64 breaks the SATA.
While the issue states to update your U-boot, I'm already on U-Boot 2017.03-armada-17.10.1-gaee49fc.
teus
 
Posts: 8
Joined: Tue Feb 18, 2020 10:13 am

Re: [linux-espressobin] SATA is not working

Postby naumovitch » Tue Dec 08, 2020 8:23 pm

You need to update uboot
https://minio.k-space.ee/minio/armbian/dl/espressobin/
My own tested on arclinux
https://espressobin.pp.ua:9090/packages/bins/

It works well with uEnv-sata.txt

kernel_addr=0x2000000
ramdisk_addr=0x1100000
fdt_addr=0x1000000
fdt_high=0xffffffffffffffff
image_name=/boot/Image
ramdisk_name=/boot/initramfs-linux.uimg
fdt_name=/boot/dtbs/marvell/armada-3720-espressobin.dtb
get_env=if ext4load scsi 0:1 $loadaddr /boot/uEnv-sata.txt; then env import -t $loadaddr $filesize; if test -n ${uenvcmd}; then run uenvcmd; fi; fi
get_images=ext4load scsi 0:1 $kernel_addr $image_name
get_ramdisk=ext4load scsi 0:1 $ramdisk_addr $ramdisk_name
bootargs=console=ttyMV0,115200 root=/dev/sda1 rw rootwait libata.force=noncq
bootcmd=scsi reset; scsi dev 0; run get_env; if run get_images; then if run get_ramdisk; then booti $kernel_addr $ramdisk_addr $fdt_addr; else booti $kernel_addr - $fdt_addr; fi; fi
naumovitch
 
Posts: 11
Joined: Wed Jun 19, 2019 7:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 54 guests