Rock64: Installing Arch from Debian Jessie

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: Rock64: Installing Arch from Debian Jessie

Postby tarmiste » Mon Dec 04, 2017 11:13 am

I was able to install Arch onto my Rock64 using the iinstructions found in the OP.

Initially it runs using the kernel (4.4ish) and initrd.img from the Debian install, not a kernel from the Arch tarball. None of the Debian kernel modules are present in the Arch rootfs. I haven't noticed any problems (although I haven't run much on it) but missing kernel modules might cause some odd behaviours.

I decided to build/install the kernel and modules from the Debian source (ayufan version). First using the Arch tools, the build failed with numerous compile errors. I switched to building with the Debian tools and there were less build problems but still not error free. I then pulled a copy of the kernel source as it was on 9/14/2017 (which was the date stamp of the most recent Debian release) and was then able to get a completed kernel build using Debian tools.

I repacked the initrd.img with the modules from my build and am running with it and my rebuilt kernel.

I took a shot at building (using Arch tools) a 4.14 kernel for it. the kernel build completed without much problem and the kernel started booting but did not come all the way up to a functional system. So, for now, it looks like I'll have to stick with the the kernel from the Debian install.
tarmiste
 
Posts: 3
Joined: Thu Nov 30, 2017 10:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby tarmiste » Thu Dec 07, 2017 4:43 pm

Some good news regarding Arch on the ROCK64... I have found that the recent 4.14 kernel already has some support for the ROCK64 board and that the Arch kernel boots on the ROCK64.

Assuming you've following the instructions in the OP, and are already running Arch on the ROCK64, to start using the Arch kernel:

#Update first (and I usually reboot after a full update...)

pacman -Syu

# Images are loaded from /boot/efi

cd /boot/efi

# Make copies of originals

cp Image origImage
cp dtb origdtb

# Install Arch kernel and dtb

cp /boot/Image Image
cp /boot/dtbs/rockchip/rk3328-rock64.dtb dtb
sync

Then reboot.

Ethernet and serial console works. Bad news is that graphics doesn't seem to work but at least there is enough support in 4.14 for the ROCK64 to boot and have some functionality.
tarmiste
 
Posts: 3
Joined: Thu Nov 30, 2017 10:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby dannysantos1985 » Tue Dec 12, 2017 8:43 pm

Can you tell me how can I get/create /boot/Image and /boot/dtbs/rockchip/rk3328-rock64.dtb files?
Does USB 3.0 work with this archlinux?
dannysantos1985
 
Posts: 5
Joined: Wed Nov 01, 2017 8:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby tarmiste » Wed Dec 13, 2017 2:14 pm

The needed Image and dtb files (and also the ramdisk) are installed in /boot (or a subdir) automatically when you do the pacman -Syu step.

The existing Arch Linux Arm kernel package for 64 bits already works for the ROCK64. Whether that is by design or lucky accident, I don't know, but the needed files originate from the Arch kernel package.

So, after doing the pacman -Syu step, do the following to update your kernel, dtb and ramdisk to the ones that are from the Arch package:

[root@rock64 boot]# cd /boot
[root@rock64 boot]# cp Image efi/Image
[root@rock64 boot]# cp dtbs/rockchip/rk3328-rock64.dtb efi/dtb
[root@rock64 boot]# cp initramfs-linux.img efi/initrd.img


Note that the initial tarball may have an older kernel (4.13 something) in it. The kernel needs to be 4.14 or later to work on ROCK64. So, you have to do the pacman -Syu step before switching to the Arch kernel. If you try to use the kernel/dtb etc from the initial tarball, it may not work.

Also note that the 4.14 kernel does not support the HDMI interface. If you are running Arch on your ROCK64, you can ssh into it or use the serial console but HDMI does not work. If you want to use HDMI, you need to stick with the Debian.
tarmiste
 
Posts: 3
Joined: Thu Nov 30, 2017 10:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby dannysantos1985 » Wed Dec 13, 2017 7:10 pm

I'm new to all of this and I would really like to have archlinux on my future rock64.
I have one doubt, how can I do pacman -Syu on rock64 if the kernel that I will initialy comes with the tarball isn't 4.14, so it doesn't support rock64?
dannysantos1985
 
Posts: 5
Joined: Wed Nov 01, 2017 8:31 pm

Re: Rock64: Installing Arch from Debian Jessie

Postby rontant » Sat Dec 23, 2017 3:52 am

Rock 64, Odroid XU4, Raspberry Pi 3, Pogo 4, Pogo Pink E02, Goflex
rontant
 
Posts: 25
Joined: Sat May 27, 2017 1:10 am
Location: Singapore

Re: Rock64: Installing Arch from Debian Jessie

Postby rontant » Fri Feb 16, 2018 12:39 pm

@tarmiste, is gigabit ethernet on ALARM working on your system? On my Rock64, ethernet only works at 100Mbps. Gigabit ethernet works fine with Ubuntu and Debian.

$this->bbcode_second_pass_code('', '[alarm@alarm ~]$ uname -a
Linux alarm 4.15.3-1-ARCH #1 SMP Mon Feb 12 19:32:28 MST 2018 aarch64 GNU/Linux
[alarm@alarm ~]$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.15.3-1-ARCH (builduser@leming) (gcc version 7.2.1 20180116 (GCC)) #1 SMP Mon Feb 12 19:32:28 MST 2018
[ 0.000000] Machine model: Pine64 Rock64
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x0000000079800000
[ 0.000000] On node 0 totalpages: 523776
[ 0.000000] DMA zone: 8184 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 523776 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 24 pages/cpu @ (ptrval) s59160 r8192 d30952 u98304
[ 0.000000] pcpu-alloc: s59160 r8192 d30952 u98304 alloc=24*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515592
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 rw root=LABEL=ALARM rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=32:98:97:39:cc:21 eth1addr=32:98:97:39:cc:41 serial=9f02748f654f5ed
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 1965532K/2095104K available (12604K kernel code, 2294K rwdata, 5488K rodata, 1472K init, 796K bss, 64036K reserved, 65536K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[ 0.000000] .text : 0x (ptrval) - 0x (ptrval) ( 12608 KB)
[ 0.000000] .rodata : 0x (ptrval) - 0x (ptrval) ( 5504 KB)
[ 0.000000] .init : 0x (ptrval) - 0x (ptrval) ( 1472 KB)
[ 0.000000] .data : 0x (ptrval) - 0x (ptrval) ( 2295 KB)
[ 0.000000] .bss : 0x (ptrval) - 0x (ptrval) ( 797 KB)
[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[ 0.000000] 0xffff7e0000008000 - 0xffff7e0002000000 ( 31 MB actual)
[ 0.000000] memory : 0xffff800000200000 - 0xffff800080000000 ( 2046 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 45212 entries in 177 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001703] Console: colour dummy device 80x25
[ 0.002130] console [tty0] enabled
[ 0.002463] bootconsole [uart8250] disabled
[ 0.002889] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002919] pid_max: default: 32768 minimum: 301
[ 0.003212] Security Framework initialized
[ 0.003230] Yama: becoming mindful.
[ 0.003372] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.003401] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.004947] ASID allocator initialised with 65536 entries
[ 0.005072] Hierarchical SRCU implementation.
[ 0.008904] EFI services will not be available.
[ 0.009361] smp: Bringing up secondary CPUs ...
[ 0.010026] Detected VIPT I-cache on CPU1
[ 0.010092] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.010820] Detected VIPT I-cache on CPU2
[ 0.010875] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.011611] Detected VIPT I-cache on CPU3
[ 0.011666] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.011785] smp: Brought up 1 node, 4 CPUs
[ 0.011871] SMP: Total of 4 processors activated.
[ 0.011889] CPU features: detected feature: 32-bit EL0 Support
[ 0.012187] CPU: All CPU(s) started at EL2
[ 0.013885] devtmpfs: initialized
[ 0.023294] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.023350] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.026464] pinctrl core: initialized pinctrl subsystem
[ 0.027624] DMI not present or invalid.
[ 0.028060] NET: Registered protocol family 16
[ 0.029887] cpuidle: using governor ladder
[ 0.030034] cpuidle: using governor menu
[ 0.031429] vdso: 2 pages (1 code @ 00000000003c4fe1, 1 data @ 00000000caeae2fa)
[ 0.031462] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.033132] DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.033706] Serial: AMBA PL011 UART driver
[ 0.064159] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.065377] ACPI: Interpreter disabled.
[ 0.068010] vgaarb: loaded
[ 0.068990] SCSI subsystem initialized
[ 0.069265] libata version 3.00 loaded.
[ 0.069523] usbcore: registered new interface driver usbfs
[ 0.069599] usbcore: registered new interface driver hub
[ 0.069716] usbcore: registered new device driver usb
[ 0.070324] EDAC MC: Ver: 3.0.0
[ 0.070700] dmi: Firmware registration failed.
[ 0.071363] Advanced Linux Sound Architecture Driver Initialized.
[ 0.071910] NetLabel: Initializing
[ 0.071930] NetLabel: domain hash size = 128
[ 0.071945] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.072036] NetLabel: unlabeled traffic allowed by default
[ 0.072745] clocksource: Switched to clocksource arch_sys_counter
[ 0.197314] VFS: Disk quotas dquot_6.6.0
[ 0.197432] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.197835] pnp: PnP ACPI: disabled
[ 0.207092] NET: Registered protocol family 2
[ 0.207829] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.208063] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.208448] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.208600] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.208694] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.209052] NET: Registered protocol family 1
[ 0.209693] RPC: Registered named UNIX socket transport module.
[ 0.209720] RPC: Registered udp transport module.
[ 0.209737] RPC: Registered tcp transport module.
[ 0.209752] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.209776] PCI: CLS 0 bytes, default 128
[ 0.209965] Unpacking initramfs...
[ 0.583066] Freeing initrd memory: 4844K
[ 0.584283] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.584546] kvm [1]: 8-bit VMID
[ 0.584563] kvm [1]: IDMAP page: 2cb9000
[ 0.584580] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[ 0.585999] kvm [1]: vgic-v2@ff814000
[ 0.586121] kvm [1]: vgic interrupt IRQ1
[ 0.586151] kvm [1]: virtual timer IRQ4
[ 0.586282] kvm [1]: Hyp mode initialized successfully
[ 0.699814] Initialise system trusted keyrings
[ 0.700003] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 0.707409] zbud: loaded
[ 0.711015] NFS: Registering the id_resolver key type
[ 0.711069] Key type id_resolver registered
[ 0.711086] Key type id_legacy registered
[ 0.711112] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.711334] SGI XFS with ACLs, security attributes, no debug enabled
[ 2.875476] NET: Registered protocol family 38
[ 2.875515] Key type asymmetric registered
[ 2.875533] Asymmetric key parser 'x509' registered
[ 2.875680] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 2.875850] io scheduler noop registered
[ 2.875871] io scheduler deadline registered
[ 2.876255] io scheduler cfq registered (default)
[ 2.876276] io scheduler mq-deadline registered
[ 2.876292] io scheduler kyber registered
[ 2.876507] io scheduler bfq registered
[ 2.876838] atomic64_test: passed
[ 2.883357] ipmi message handler version 39.2
[ 2.888029] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[ 2.888068] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 2.891404] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.893576] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
[ 2.963526] console [ttyS2] enabled
[ 2.964780] msm_serial: driver initialized
[ 2.970718] libphy: Fixed MDIO Bus: probed
[ 2.972043] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[ 2.972910] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[ 2.986176] dwc2 ff580000.usb: DWC OTG Controller
[ 2.986640] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[ 2.987309] dwc2 ff580000.usb: irq 19, io mem 0xff580000
[ 2.988048] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.988664] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.989316] usb usb1: Product: DWC OTG Controller
[ 2.989744] usb usb1: Manufacturer: Linux 4.15.3-1-ARCH dwc2_hsotg
[ 2.990301] usb usb1: SerialNumber: ff580000.usb
[ 2.991340] hub 1-0:1.0: USB hub found
[ 2.991725] hub 1-0:1.0: 1 port detected
[ 2.993473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.994081] ehci-pci: EHCI PCI platform driver
[ 2.994538] ehci-platform: EHCI generic platform driver
[ 2.997418] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 2.998147] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[ 2.999196] ehci-platform ff5c0000.usb: irq 20, io mem 0xff5c0000
[ 3.022765] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 3.023599] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.024218] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.024871] usb usb2: Product: EHCI Host Controller
[ 3.025313] usb usb2: Manufacturer: Linux 4.15.3-1-ARCH ehci_hcd
[ 3.025856] usb usb2: SerialNumber: ff5c0000.usb
[ 3.026887] hub 2-0:1.0: USB hub found
[ 3.027269] hub 2-0:1.0: 1 port detected
[ 3.028098] ehci-orion: EHCI orion driver
[ 3.028631] tegra-ehci: Tegra EHCI driver
[ 3.029153] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.029728] ohci-pci: OHCI PCI platform driver
[ 3.030202] ohci-platform: OHCI generic platform driver
[ 3.030975] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 3.031794] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[ 3.032808] ohci-platform ff5d0000.usb: irq 21, io mem 0xff5d0000
[ 3.107029] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.107647] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.108298] usb usb3: Product: Generic Platform OHCI controller
[ 3.108832] usb usb3: Manufacturer: Linux 4.15.3-1-ARCH ohci_hcd
[ 3.109374] usb usb3: SerialNumber: ff5d0000.usb
[ 3.110392] hub 3-0:1.0: USB hub found
[ 3.110776] hub 3-0:1.0: 1 port detected
[ 3.111571] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.112854] usbcore: registered new interface driver uas
[ 3.113472] usbcore: registered new interface driver usb-storage
[ 3.114056] usbcore: registered new interface driver ums-alauda
[ 3.114625] usbcore: registered new interface driver ums-cypress
[ 3.115204] usbcore: registered new interface driver ums-datafab
[ 3.115779] usbcore: registered new interface driver ums_eneub6250
[ 3.116368] usbcore: registered new interface driver ums-freecom
[ 3.116944] usbcore: registered new interface driver ums-isd200
[ 3.117513] usbcore: registered new interface driver ums-jumpshot
[ 3.118102] usbcore: registered new interface driver ums-karma
[ 3.118664] usbcore: registered new interface driver ums-onetouch
[ 3.119262] usbcore: registered new interface driver ums-realtek
[ 3.119839] usbcore: registered new interface driver ums-sddr09
[ 3.120407] usbcore: registered new interface driver ums-sddr55
[ 3.120975] usbcore: registered new interface driver ums-usbat
[ 3.121604] usbcore: registered new interface driver usbserial_generic
[ 3.122218] usbserial: USB Serial support registered for generic
[ 3.124187] mousedev: PS/2 mouse device common for all mice
[ 3.128037] rk808 1-0018: chip id: 0x8050
[ 3.136765] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 3.137344] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 3.138013] DCDC_REG1: supplied by vcc_sys
[ 3.140584] vcc_host_5v: supplied by vcc_sys
[ 3.141071] vcc_host1_5v: supplied by vcc_sys
[ 3.141580] DCDC_REG2: supplied by vcc_sys
[ 3.143531] DCDC_REG3: supplied by vcc_sys
[ 3.144184] DCDC_REG4: supplied by vcc_sys
[ 3.145767] LDO_REG1: supplied by vcc_io
[ 3.149568] LDO_REG2: supplied by vcc_io
[ 3.153422] LDO_REG3: supplied by vcc_sys
[ 3.158494] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at 00000000d8b0e689
[ 3.162700] device-mapper: uevent: version 1.0.3
[ 3.163604] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[ 3.167171] sdhci: Secure Digital Host Controller Interface driver
[ 3.167725] sdhci: Copyright(c) Pierre Ossman
[ 3.168429] Synopsys Designware Multimedia Card Interface Driver
[ 3.169574] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[ 3.170356] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[ 3.170962] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[ 3.171514] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 16,32 bit host data width,256 deep fifo
[ 3.172428] vcc_sd: supplied by vcc_io
[ 3.202807] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 3.233324] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
[ 3.234212] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[ 3.234826] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[ 3.235380] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 17,32 bit host data width,256 deep fifo
[ 3.236836] mmc_host mmc1: card is non-removable.
[ 3.262770] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 3.281984] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 3.282894] mmc0: new high speed SDHC card at address 59b4
[ 3.283723] mmcblk0: mmc0:59b4 00000 29.8 GiB
[ 3.293264] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.294332] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 3.295810] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.296581] dmi-sysfs: dmi entry is absent.
[ 3.297170] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.297750] usbcore: registered new interface driver usbhid
[ 3.298242] usbhid: USB HID core driver
[ 3.300471] drop_monitor: Initializing network drop monitor service
[ 3.301175] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.301648] Initializing XFRM netlink socket
[ 3.302437] NET: Registered protocol family 10
[ 3.308180] Segment Routing with IPv6
[ 3.308573] mip6: Mobile IPv6
[ 3.308843] NET: Registered protocol family 17
[ 3.309351] Key type dns_resolver registered
[ 3.310260] registered taskstats version 1
[ 3.310627] Loading compiled-in X.509 certificates
[ 3.311151] zswap: loaded using pool lzo/zbud
[ 3.311660] Key type big_key registered
[ 3.316599] Key type encrypted registered
[ 3.323456] hctosys: unable to open rtc device (rtc0)
[ 3.325087] ALSA device list:
[ 3.325360] No soundcards found.
[ 3.325820] of_dma_request_slave_channel: dma-names property of node '/serial@ff130000' missing or empty
[ 3.326657] ttyS2 - failed to request DMA
[ 3.331607] Freeing unused kernel memory: 1472K
[ 3.332848] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 3.402849] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 3.422809] usb 1-1: new high-speed USB device number 2 using dwc2
[ 3.492863] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 3.974200] usb 1-1: New USB device found, idVendor=2109, idProduct=2812
[ 3.974805] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.975434] usb 1-1: Product: USB2.0 Hub
[ 3.975881] usb 1-1: Manufacturer: VIA Labs, Inc.
[ 3.976904] hub 1-1:1.0: USB hub found
[ 3.977427] hub 1-1:1.0: 4 ports detected
[ 5.232756] usb 1-1.3: new high-speed USB device number 3 using dwc2
[ 5.373928] usb 1-1.3: New USB device found, idVendor=2537, idProduct=1066
[ 5.374543] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.375193] usb 1-1.3: Product: NS1066
[ 5.375532] usb 1-1.3: Manufacturer: Norelsys
[ 5.375922] usb 1-1.3: SerialNumber: 0123456789ABCDE
[ 5.376959] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 5.379538] scsi host0: usb-storage 1-1.3:1.0
[ 6.581637] random: crng init done
[ 7.921988] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54503 C60Y PQ: 0 ANSI: 6
[ 7.923576] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 7.924502] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[ 7.925955] sd 0:0:0:0: [sda] Write Protect is off
[ 7.926397] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 7.927077] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7.952222] sda: sda1
[ 7.955329] sd 0:0:0:0: [sda] Attached SCSI disk
[ 8.963326] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 9.972104] systemd[1]: System time before build time, advancing clock.
[ 10.055302] systemd[1]: systemd 237 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN +PCRE2 default-hierarchy=hybrid)
[ 10.057469] systemd[1]: Detected architecture arm64.
[ 10.086006] systemd[1]: Set hostname to <alarm>.
[ 11.393827] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 11.423081] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 11.452950] systemd[1]: Reached target Swap.
[ 11.483021] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 11.512855] systemd[1]: Reached target Local Encrypted Volumes.
[ 11.544337] systemd[1]: Created slice System Slice.
[ 11.573211] systemd[1]: Listening on Network Service Netlink Socket.
[ 13.150693] systemd-journald[316]: Received request to flush runtime journal from PID 1
[ 13.261070] systemd-journald[316]: File /var/log/journal/120ae343e3aa41e7a2441ea689b75b91/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.351595] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0
[ 14.353717] dw_wdt: probe of ff1a0000.watchdog failed with error -2
[ 14.420570] pps_core: LinuxPPS API ver. 1 registered
[ 14.421032] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 14.429821] PTP clock support registered
[ 14.525121] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 14.525743] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 14.526370] rk_gmac-dwmac ff540000.ethernet: TX delay(0x26).
[ 14.526871] rk_gmac-dwmac ff540000.ethernet: RX delay(0x11).
[ 14.527375] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 14.527985] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 14.533537] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 14.534167] stmmac - user ID: 0x10, Synopsys ID: 0x35
[ 14.534626] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 14.535146] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 14.535811] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 14.536339] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 14.537004] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 14.537467] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[ 14.538089] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 14.538688] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 14.582390] libphy: stmmac: probed
[ 14.582723] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 14.583919] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 14.804662] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 14.812828] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 14.813686] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.924299] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 17.925103] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

')

When booting up to ALARM, I can connect the USB drive to USB 2 port only. If connected to USB 3 port, the system just won't be able to find the USB drive (where ALARM is installed)
Rock 64, Odroid XU4, Raspberry Pi 3, Pogo 4, Pogo Pink E02, Goflex
rontant
 
Posts: 25
Joined: Sat May 27, 2017 1:10 am
Location: Singapore

Re: Rock64: Installing Arch from Debian Jessie

Postby dannysantos1985 » Sat Mar 31, 2018 5:35 pm

When will USB3 work on Rock64?
If I install ArchLinux on my Rock64, if the updates in the future make the USB3 work will that be applied to my updated ArchLinux?
dannysantos1985
 
Posts: 5
Joined: Wed Nov 01, 2017 8:31 pm

Previous

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests