[ 1.863904] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.985543] ata1.00: ATA-10: WDC WD20SPZX-22UA7T0, 01.01A01, max UDMA/133
[ 1.985558] ata1.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32)
[ 1.986234] ata1.00: configured for UDMA/133
[ 1.987153] scsi 0:0:0:0: Direct-Access ATA WDC WD20SPZX-22U 1A01 PQ: 0 ANSI: 5
[ 1.988597] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.988969] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 1.988985] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.989111] sd 0:0:0:0: [sda] Write Protect is off
[ 1.989127] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.989332] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.033446] ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x10200 action 0xe frozen
[ 2.040997] ata1.00: irq_stat 0x00400000, PHY RDY changed
[ 2.046412] ata1: SError: { Persist PHYRdyChg }
[ 2.050961] ata1.00: failed command: READ FPDMA QUEUED
[ 2.056126] ata1.00: cmd 60/08:00:a8:88:e0/00:00:e8:00:00/40 tag 0 ncq dma 4096 in
res 40/00:00:a8:88:e0/00:00:e8:00:00/40 Emask 0x10 (ATA bus error)
[ 2.071679] ata1.00: status: { DRDY }
[ 2.075376] ata1: hard resetting link
[ 4.537398] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.563816] ata1.00: configured for UDMA/133
[ 4.563875] ata1: EH complete
[ 4.581413] ata1.00: exception Emask 0x10 SAct 0x2 SErr 0x10200 action 0xe frozen
[ 4.588926] ata1.00: irq_stat 0x00400000, PHY RDY changed
[ 4.594344] ata1: SError: { Persist PHYRdyChg }
[ 4.598898] ata1.00: failed command: READ FPDMA QUEUED
[ 4.604061] ata1.00: cmd 60/08:08:a8:88:e0/00:00:e8:00:00/40 tag 1 ncq dma 4096 in
res 40/00:08:a8:88:e0/00:00:e8:00:00/40 Emask 0x10 (ATA bus error)
[ 4.619613] ata1.00: status: { DRDY }
[ 4.623298] ata1: hard resetting link
[ 7.073395] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 7.074625] ata1.00: configured for UDMA/133
[ 7.074673] ata1: EH complete
[ 7.101461] sda: sda1
[ 7.118603] sd 0:0:0:0: [sda] Attached SCSI disk
[ 7.119786] sda: detected capacity change from 0 to 2000398934016
[ 7.120824] sda: detected capacity change from 0 to 2000398934016
[ 7.124345] Freeing unused kernel memory: 1024K
[ 7.133670] Run /init as init process
[ 7.133679] with arguments:
[ 7.133684] /init
[ 7.133688] with environment:
[ 7.133693] HOME=/
[ 7.133697] TERM=linux
[ 8.614356] axp20x-gpio axp20x-gpio: DMA mask not set
[ 8.621828] ata1.00: exception Emask 0x10 SAct 0x2 SErr 0x10200 action 0xe frozen
[ 8.622945] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded
[ 8.629443] ata1.00: irq_stat 0x00400000, PHY RDY changed
[ 8.629460] ata1: SError: { Persist PHYRdyChg }
[ 8.639505] ata1.00: failed command: READ FPDMA QUEUED
[ 8.644749] ata1.00: cmd 60/08:08:00:00:00/00:00:00:00:00/40 tag 1 ncq dma 4096 in
res 40/00:08:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[ 8.660369] ata1.00: status: { DRDY }
[ 8.664137] ata1: hard resetting link
[ 11.177427] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 11.178773] ata1.00: configured for UDMA/133
[ 11.178872] sd 0:0:0:0: [sda] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=2s
[ 11.178888] sd 0:0:0:0: [sda] tag#1 Sense Key : 0x5 [current]
[ 11.178900] sd 0:0:0:0: [sda] tag#1 ASC=0x21 ASCQ=0x4
[ 11.178919] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00
[ 11.178933] blk_update_request: I/O error, dev sda, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 11.189293] ata1: EH complete
[ 15.568456] ata1: limiting SATA link speed to 1.5 Gbps
[ 18.093501] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 18.096975] ata1.00: configured for UDMA/133
Quotecan you clarify what you try to do?Yes, I have a Raspberry Pi Pico on which I run a modified version of the https://github.com/stacksmashing/pico-serprog
a) program the Flash IC on iCE40HX8K via SPI?
flashrom -V -p serprog:dev=/dev/tty.usbmodem1301:4800 ...Starting kernel ...
[ 0.988284] sun50i-de2-bus 1000000.bus: Error couldn't map SRAM to device
[ 0.988831] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 1.323668] sun8i-dw-hdmi 1ee0000.hdmi: Couldn't get regulator
[ 1.324092] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 1.340432] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
Loading, please wait...
[ 1.855559] BUG: Bad page state in process udevadm pfn:4511b
[ 1.861950] BUG: Bad page state in process udevadm pfn:4517c
[ 1.944754] BUG: Bad page state in process udevadm pfn:bfbc5
[ 1.950715] BUG: Bad page state in process udevadm pfn:49eb4
[ 1.956618] BUG: Bad page state in process udevadm pfn:41080
Quoteroot@a64-olinuxino:~# cat /sys/class/power_supply/axp20x-battery/status
cat /sys/class/power_supply/axp20x-battery/voltage_now
cat /sys/class/power_supply/axp20x-battery/current_now
cat /sys/class/power_supply/axp20x-battery/constant_charge_current
cat /sys/class/power_supply/axp813-ac/input_current_limit
Charging
4097000
1394000
1200000
1500000
root@a64-olinuxino:~#
Quoteecho 1200000 > /sys/class/power_supply/axp20x-battery/constant_charge_current
cat /sys/class/power_supply/axp20x-battery/current_now