Jump to content

Banana PRO: Testers wanted! SATA drive not working on some boards.


Gary Blake ヅ

Recommended Posts

First try to use different cables to power the board. I just tested - Banana Pi with mechanical SATA powered from Banana. First disk was also not powering up but when I used different cable set it worked.

Link to comment
Share on other sites

Thanks for the prompt reply Igor. I feel a donation coming along!

 

I've tried another SATA cable. They are both old. I will try a proper set bought dedicated for the banana pro that i will grab from my Armbian jessie vanilla NAS setup. (I will not upgrade that server until this has been resolved!)

 

Cable quality does not feel like the problem here but will try it!

 

Thanks

 

Gary

Link to comment
Share on other sites

OK, I was already looking closely but it's working fine for me. Huh. I guess I need to look more.

 

Can you check if SATA is working within U-boot? You have (serial) console / keyboard?

Link to comment
Share on other sites

root@bananapi:~# dmesg

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 4.4.1-sunxi (root@production) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #6 SMP Thu Feb 11 21:57:14 CET 2016

[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine model: Banana Pi

[    0.000000] cma: Reserved 16 MiB at 0x7f000000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] On node 0 totalpages: 262144

[    0.000000] free_area_init_node: node 0, pgdat c08fb240, node_mem_map ef6f8000

[    0.000000]   Normal zone: 1728 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 196608 pages, LIFO batch:31

[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: Using PSCI v0.1 Function IDs from DT

[    0.000000] PERCPU: Embedded 12 pages/cpu @ef6c4000 s19008 r8192 d21952 u49152

[    0.000000] pcpu-alloc: s19008 r8192 d21952 u49152 alloc=12*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416

[    0.000000] Kernel command line: 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_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 1012444K/1048576K available (6822K kernel code, 256K rwdata, 1760K rodata, 328K init, 280K bss, 19748K reserved, 16384K cma-reserved, 245760K highmem)

[    0.000000] Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .text : 0xc0008000 - 0xc0869e98   (8584 kB)

      .init : 0xc086a000 - 0xc08bc000   ( 328 kB)

      .data : 0xc08bc000 - 0xc08fc1a0   ( 257 kB)

       .bss : 0xc08ff000 - 0xc0945340   ( 281 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

[    0.000000] Hierarchical RCU implementation.

[    0.000000]  Build-time adjustment of leaf fanout to 32.

[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns

[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[    0.000020] Switching to timer-based delay loop, resolution 41ns

[    0.000403] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

[    0.000586] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns

[    0.000774] Console: colour dummy device 80x30

[    0.000916] console [tty1] enabled

[    0.000943] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)

[    0.000958] pid_max: default: 32768 minimum: 301

[    0.001098] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.001110] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.001829] Initializing cgroup subsys io

[    0.001860] Initializing cgroup subsys memory

[    0.001895] Initializing cgroup subsys devices

[    0.001910] Initializing cgroup subsys freezer

[    0.001923] Initializing cgroup subsys net_cls

[    0.001936] Initializing cgroup subsys perf_event

[    0.001960] Initializing cgroup subsys net_prio

[    0.002020] CPU: Testing write buffer coherency: ok

[    0.002390] /cpus/cpu@0 missing clock-frequency property

[    0.002409] /cpus/cpu@1 missing clock-frequency property

[    0.002422] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.002488] Setting up static identity map for 0x400082c0 - 0x40008318

[    0.004479] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.004572] Brought up 2 CPUs

[    0.004595] SMP: Total of 2 processors activated (96.00 BogoMIPS).

[    0.004602] CPU: All CPU(s) started in HYP mode.

[    0.004607] CPU: Virtualization extensions available.

[    0.005440] devtmpfs: initialized

[    0.013744] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4

[    0.014136] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

[    0.015014] xor: measuring software checksum speed

[    0.109997]    arm4regs  :  1243.600 MB/sec

[    0.210051]    8regs     :   772.000 MB/sec

[    0.310111]    32regs    :   792.400 MB/sec

[    0.410169]    neon      :  1162.400 MB/sec

[    0.410178] xor: using function: arm4regs (1243.600 MB/sec)

[    0.410319] pinctrl core: initialized pinctrl subsystem

[    0.411510] NET: Registered protocol family 16

[    0.412654] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.440247] cpuidle: using governor ladder

[    0.464721] cpuidle: using governor menu

[    0.472037] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[    0.472053] hw-breakpoint: maximum watchpoint size is 8 bytes.

[    0.640738] raid6: int32x1  gen()   138 MB/s

[    0.810642] raid6: int32x1  xor()   110 MB/s

[    0.980854] raid6: int32x2  gen()   185 MB/s

[    1.150933] raid6: int32x2  xor()   119 MB/s

[    1.321267] raid6: int32x4  gen()   197 MB/s

[    1.491233] raid6: int32x4  xor()   122 MB/s

[    1.661503] raid6: int32x8  gen()   179 MB/s

[    1.831648] raid6: int32x8  xor()   116 MB/s

[    2.001763] raid6: neonx1   gen()   437 MB/s

[    2.171799] raid6: neonx1   xor()   324 MB/s

[    2.341926] raid6: neonx2   gen()   577 MB/s

[    2.512075] raid6: neonx2   xor()   423 MB/s

[    2.682286] raid6: neonx4   gen()   707 MB/s

[    2.852364] raid6: neonx4   xor()   480 MB/s

[    3.022580] raid6: neonx8   gen()   639 MB/s

[    3.192676] raid6: neonx8   xor()   450 MB/s

[    3.192684] raid6: using algorithm neonx4 gen() 707 MB/s

[    3.192690] raid6: .... xor() 480 MB/s, rmw enabled

[    3.192697] raid6: using intx1 recovery algorithm

[    3.193061] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe

[    3.193112] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe

[    3.193145] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe

[    3.193931] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe

[    3.193970] reg-fixed-voltage vmmc3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/vmmc3_pin@0, deferring probe

[    3.194920] SCSI subsystem initialized

[    3.195245] libata version 3.00 loaded.

[    3.195585] usbcore: registered new interface driver usbfs

[    3.195652] usbcore: registered new interface driver hub

[    3.195731] usbcore: registered new device driver usb

[    3.195997] media: Linux media interface: v0.10

[    3.196063] Linux video capture interface: v2.00

[    3.196153] pps_core: LinuxPPS API ver. 1 registered

[    3.196160] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    3.196187] PTP clock support registered

[    3.197829] clocksource: Switched to clocksource arch_sys_counter

[    3.208232] NET: Registered protocol family 2

[    3.208954] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

[    3.209050] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    3.209178] TCP: Hash tables configured (established 8192 bind 8192)

[    3.209282] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    3.209342] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    3.209628] NET: Registered protocol family 1

[    3.210462] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available

[    3.211724] futex hash table entries: 512 (order: 3, 32768 bytes)

[    3.212188] Initialise system trusted keyring

[    3.220581] zbud: loaded

[    3.224307] JFS: nTxBlock = 8037, nTxLock = 64301

[    3.234527] SGI XFS with ACLs, security attributes, realtime, no debug enabled

[    3.242519] bounce: pool size: 64 pages

[    3.242831] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

[    3.243087] io scheduler noop registered

[    3.243109] io scheduler deadline registered

[    3.243169] io scheduler cfq registered (default)

[    3.243645] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe

[    3.246264] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver

[    3.312699] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled

[    3.335891] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A

[    3.359389] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A

[    3.382831] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A

[    3.391175] loop: module loaded

[    3.457895] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP

[    3.457952] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled

[    3.457984] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode

[    3.458000] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc

[    3.459135] scsi host0: ahci-sunxi

[    3.459495] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33

[    3.461645] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    3.461670] ehci-platform: EHCI generic platform driver

[    3.462035] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    3.462067] ohci-platform: OHCI generic platform driver

[    3.462452] usbcore: registered new interface driver usb-storage

[    3.463667] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0

[    3.463685] sunxi-rtc 1c20d00.rtc: RTC enabled

[    3.463798] i2c /dev entries driver

[    3.464826] axp20x 0-0034: AXP20x variant AXP209 found

[    3.478096] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0

[    3.485236] axp20x 0-0034: Backup (RTC) battery charging is disabled

[    3.485438] axp20x 0-0034: AXP20X driver loaded

[    3.504439] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)

[    3.505176] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found

[    3.505783] sunxi-mmc 1c0f000.mmc: Got CD GPIO

[    3.538065] sunxi-mmc 1c0f000.mmc: base:0xf0d70000 irq:27

[    3.539312] ledtrig-cpu: registered to indicate activity on CPUs

[    3.539415] hidraw: raw HID events driver © Jiri Kosina

[    3.539590] usbcore: registered new interface driver usbhid

[    3.539597] usbhid: USB HID core driver

[    3.540751] Initializing XFRM netlink socket

[    3.541949] NET: Registered protocol family 10

[    3.542952] NET: Registered protocol family 17

[    3.543011] NET: Registered protocol family 15

[    3.543077] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.

[    3.543094] 8021q: 802.1Q VLAN Support v1.8

[    3.543158] Key type dns_resolver registered

[    3.543658] Registering SWP/SWPB emulation handler

[    3.544557] registered taskstats version 1

[    3.544579] Loading compiled-in X.509 certificates

[    3.544690] zswap: loaded using pool lzo/zbud

[    3.547596] Btrfs loaded

[    3.549109] Key type encrypted registered

[    3.552841] ehci-platform 1c14000.usb: EHCI Host Controller

[    3.552890] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1

[    3.553174] ehci-platform 1c14000.usb: irq 30, io mem 0x01c14000

[    3.567836] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00

[    3.568188] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    3.568204] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.568214] usb usb1: Product: EHCI Host Controller

[    3.568224] usb usb1: Manufacturer: Linux 4.4.1-sunxi ehci_hcd

[    3.568233] usb usb1: SerialNumber: 1c14000.usb

[    3.569087] hub 1-0:1.0: USB hub found

[    3.569153] hub 1-0:1.0: 1 port detected

[    3.570042] ehci-platform 1c1c000.usb: EHCI Host Controller

[    3.570090] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2

[    3.570361] ehci-platform 1c1c000.usb: irq 34, io mem 0x01c1c000

[    3.575781] mmc0: host does not support reading read-only switch, assuming write-enable

[    3.578471] mmc0: new high speed SDHC card at address 0007

[    3.579281] mmcblk0: mmc0:0007 SD8GB 7.42 GiB

[    3.580902]  mmcblk0: p1

[    3.587913] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00

[    3.588249] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

[    3.588264] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.588274] usb usb2: Product: EHCI Host Controller

[    3.588285] usb usb2: Manufacturer: Linux 4.4.1-sunxi ehci_hcd

[    3.588294] usb usb2: SerialNumber: 1c1c000.usb

[    3.589065] hub 2-0:1.0: USB hub found

[    3.589136] hub 2-0:1.0: 1 port detected

[    3.589969] ohci-platform 1c14400.usb: Generic Platform OHCI controller

[    3.590026] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3

[    3.590302] ohci-platform 1c14400.usb: irq 31, io mem 0x01c14400

[    3.652160] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001

[    3.652176] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.652185] usb usb3: Product: Generic Platform OHCI controller

[    3.652195] usb usb3: Manufacturer: Linux 4.4.1-sunxi ohci_hcd

[    3.652204] usb usb3: SerialNumber: 1c14400.usb

[    3.652988] hub 3-0:1.0: USB hub found

[    3.653065] hub 3-0:1.0: 1 port detected

[    3.653878] ohci-platform 1c1c400.usb: Generic Platform OHCI controller

[    3.653920] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4

[    3.654151] ohci-platform 1c1c400.usb: irq 35, io mem 0x01c1c400

[    3.712097] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001

[    3.712114] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.712124] usb usb4: Product: Generic Platform OHCI controller

[    3.712134] usb usb4: Manufacturer: Linux 4.4.1-sunxi ohci_hcd

[    3.712143] usb usb4: SerialNumber: 1c1c400.usb

[    3.712900] hub 4-0:1.0: USB hub found

[    3.712975] hub 4-0:1.0: 1 port detected

[    3.714047] sunxi-mmc 1c12000.mmc: No vqmmc regulator found

[    3.747861] sunxi-mmc 1c12000.mmc: base:0xf0d94000 irq:28

[    3.752926] vcc3v0: disabling

[    3.752960] vcc5v0: disabling

[    3.752982] ldo3: disabling

[    3.753364] ldo4: disabling

[    3.753923] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !!

[    3.754107] usb0-vbus: disabling

[    3.754120] gmac-3v3: disabling

[    3.763243] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

[    3.764738] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[    3.766230] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

[    3.768916] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

[    3.784009] mmc1: new high speed SDIO card at address 0001

[    3.807852] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

[    8.807845] ata1.00: qc timeout (cmd 0xec)

[    8.807865] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)

[    9.157821] ata1: SATA link down (SStatus 0 SControl 300)

[    9.160960] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem

[    9.160978] EXT4-fs (mmcblk0p1): write access will be enabled during recovery

[    9.393395] random: nonblocking pool is initialized

[   11.207683] EXT4-fs (mmcblk0p1): recovery complete

[   11.304290] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)

[   11.304367] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.

[   11.305274] devtmpfs: mounted

[   11.305656] Freeing unused kernel memory: 328K (c086a000 - c08bc000)

[   12.302721] systemd-udevd[230]: starting version 215

[   12.749518] sun4i-ss 1c15000.crypto-engine: no reset control found

[   12.751070] sun4i-ss 1c15000.crypto-engine: Die ID 0

[   12.978055] sun7i-dwmac 1c50000.ethernet: no reset control found

[   12.978083]  Ring mode enabled

[   12.978091]  No HW DMA feature register supported

[   12.978098]  Normal descriptors

[   12.978104]  TX Checksum insertion supported

[   13.027489] libphy: stmmac: probed

[   13.027516] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active

[   13.027524] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)

[   13.032522] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok

[   13.345274] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d

[   13.363067] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code

[   13.813045] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code

[   13.813101] cfg80211: World regulatory domain updated:

[   13.813118] cfg80211:  DFS Master region: unset

[   13.813137] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)

[   13.813167] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[   13.813194] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)

[   13.813220] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)

[   13.813251] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)

[   13.813282] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)

[   13.813310] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)

[   13.813336] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)

[   13.813362] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)

[   16.064102] EXT4-fs (mmcblk0p1): re-mounted. Opts: data=writeback,commit=600,errors=remount-ro

[   16.753323] Adding 131068k swap on /var/swap.  Priority:-1 extents:5 across:565244k SSFS

[   17.404420] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

[   17.486444] fuse init (API version 7.23)

[   19.072631]  RX IPC Checksum Offload disabled

[   19.072665]  No MAC Management Counters available

[   25.058284] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[   46.206801] Bluetooth: Core ver 2.21

[   46.206920] NET: Registered protocol family 31

[   46.206930] Bluetooth: HCI device and connection manager initialized

[   46.206955] Bluetooth: HCI socket layer initialized

[   46.206971] Bluetooth: L2CAP socket layer initialized

[   46.207006] Bluetooth: SCO socket layer initialized

[   46.246570] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[   46.246596] Bluetooth: BNEP filters: protocol multicast

[   46.246629] Bluetooth: BNEP socket layer initialized
Link to comment
Share on other sites

root@bananapi:~# lsmod

Module                  Size  Used by

bnep                    9892  2

bluetooth             299193  5 bnep

cpufreq_userspace       1417  0

fuse                   72800  1

bonding                94395  0

realtek                 2455  0

brcmfmac              162570  0

brcmutil                4957  1 brcmfmac

sun4i_codec            10303  3

cfg80211              214121  1 brcmfmac

rfkill                  9328  3 cfg80211,bluetooth

snd_soc_core          102678  1 sun4i_codec

nvmem_sunxi_sid         2359  0

snd_pcm_dmaengine       2943  1 snd_soc_core

snd_pcm                69300  2 snd_soc_core,snd_pcm_dmaengine

evdev                  11268  0

snd_timer              17780  1 snd_pcm

dwmac_sunxi             2239  0

sun4i_ts                3798  0

nvmem_core              7504  1 nvmem_sunxi_sid

snd                    41799  3 snd_soc_core,snd_timer,snd_pcm

soundcore                858  1 snd

sun4i_ss               14914  0

cpufreq_dt              4010  0

uio_pdrv_genirq         2908  0

thermal_sys            36472  2 cpufreq_dt,sun4i_ts

uio                     6784  1 uio_pdrv_genirq
Link to comment
Share on other sites

OK, I was already looking closely but it's working fine for me. Huh. I guess I need to look more.

 

Can you check if SATA is working within U-boot? You have (serial) console / keyboard?

 

I'm new to uboot. have used linux for a very long time but that i have no knowledge about.

 

I will google it now.

 

Thanks

 

Gary

Link to comment
Share on other sites

I was doing some corrections to Banana DTB but haven't touched banana pro.

 

Can you try switching to it:

 

edit /boot/boot.cmd

 

This

ext4load mmc 0 0x49000000 /boot/dtb/${fdtfile}

To this:

ext4load mmc 0 0x49000000 /boot/dtb/sun7i-a20-bananapro.dtb

 

recompile

 

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

 

reboot

Link to comment
Share on other sites

Updated boot.cmd

# if you want to boot jessie with systemd: setenv bootargs init=/bin/systemd console=tty1 ...
# remember to disable ramlog prior switching to systemd
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_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1"
#--------------------------------------------------------------------------------------------------------------------------------
# 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/sun7i-a20-bananapro.dtb || 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
#--------------------------------------------------------------------------------------------------------------------------------
fi
# Recompile with:
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr 

Recompiled

root@bananapi:~# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
Image Name:
Created:      Sat Feb 13 20:12:46 2016
Image Type:   ARM Linux Script (uncompressed)
Data Size:    1922 Bytes = 1.88 kB = 0.00 MB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 1914 Bytes = 1.87 kB = 0.00 MB
root@bananapi:~#
root@bananapi:~#
root@bananapi:~# reboot

Broadcast message from root@bananapi (pts/1) (Sat Feb 13 20:12:49 2016):

The system is going down for reboot NOW!
root@bananapi:~#
login as: root
root@192.168.0.8's password:
 ____
| __ )  __ _ _ __   __ _ _ __   __ _
|  _ \ / _` | '_ \ / _` | '_ \ / _` |
| |_) | (_| | | | | (_| | | | | (_| |
|____/ \__,_|_| |_|\__,_|_| |_|\__,_|


Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 4.4.1-sunxi

System load:   1.02             Up time:       50 sec
Memory usage:  3 % of 1005Mb    IP:            192.168.0.8
CPU temp:      32°C
Usage of /:    16% of 7.3G

Last login: Sat Feb 13 19:59:37 2016 from 192.168.0.3
root@bananapi:~# blkid
/dev/mmcblk0: PTUUID="000380a6" PTTYPE="dos"
/dev/mmcblk0p1: UUID="b5d952cd-46ba-4d79-b669-ba961ec9559f" TYPE="ext4" PARTUUID="000380a6-01"

Still nothing showing up.

Link to comment
Share on other sites

Same problem here --- sata drive did not show up after upgrade to armbian 5.0

 

I'm using armbian 5.0 on a banana pro.

And using external power source for the sata hard drive.

 

And the hard disk did not show up after upgrade.

Link to comment
Share on other sites

root@bananapi:~# cat /proc/interrupts

CPU0 CPU1

17: 0 0 GIC 29 Edge arch_timer

18: 20068 8523 GIC 30 Edge arch_timer

21: 0 0 GIC 54 Level sun4i_timer0

22: 0 0 GIC 113 Level sun5i_timer0

25: 0 0 GIC 59 Level 1c02000.dma-controller

26: 0 0 GIC 42 Level sun4i-spi

27: 60467 0 GIC 64 Level sunxi-mmc

28: 3973 0 GIC 67 Level sunxi-mmc

30: 0 0 GIC 71 Level ehci_hcd:usb1

31: 0 0 GIC 96 Level ohci_hcd:usb3

34: 0 0 GIC 72 Level ehci_hcd:usb2

35: 0 0 GIC 97 Level ohci_hcd:usb4

38: 1 0 GIC 56 Level 1c20d00.rtc

44: 1085 0 GIC 61 Level sun4i-ts

45: 6 0 GIC 33 Level serial

48: 866 0 GIC 39 Level mv64xxx_i2c

49: 0 0 GIC 41 Level mv64xxx_i2c

50: 11 2092 GIC 117 Level eth0

59: 1 0 sunxi_pio_edge 4 Edge usb0-id-det

65: 0 0 sunxi_pio_edge 10 Edge 1c0f000.mmc cd

87: 0 0 sunxi-nmi 0 Level axp20x_irq_chip

93: 0 0 axp20x_irq_chip 5 Edge axp20x-usb-power-supply

94: 0 0 axp20x_irq_chip 6 Edge axp20x-usb-power-supply

114: 0 0 axp20x_irq_chip 26 Edge axp20x-usb-power-supply

115: 0 0 axp20x_irq_chip 27 Edge axp20x-usb-power-supply

121: 0 0 axp20x_irq_chip 33 Edge axp20x-pek-dbr

122: 0 0 axp20x_irq_chip 34 Edge axp20x-pek-dbf

IPI0: 0 0 CPU wakeup interrupts

IPI1: 0 0 Timer broadcast interrupts

IPI2: 4678 37545 Rescheduling interrupts

IPI3: 0 0 Function call interrupts

IPI4: 5 5 Single function call interrupts

IPI5: 0 0 CPU stop interrupts

IPI6: 0 0 IRQ work interrupts

IPI7: 0 0 completion interrupts

Err: 0

root@bananapi:~#

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines