AArch64 on Raspberry Pi 4 but no usb

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

AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Mon Dec 07, 2020 11:28 am

Not sure if this is resolved. I was able to install the AArch64 on RPi 4 from the link below, but usb doesn't work. Keyboard, usb drive won't work, lsusb returns nothing. I googled and find a few threads talking about this issue, but none of them really helps.

https://archlinuxarm.org/platforms/armv ... berry-pi-4
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby gofree » Mon Dec 07, 2020 3:37 pm

woks like a charm - maybe go through the install once again if you didnt miss anything, it happens sometimes

just for inspiration my cmdline and config file - I had to mount manually usb drives eg. put them in to the /etc/fstab

$this->bbcode_second_pass_code('', '
cat /boot/cmdline.txt
root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 cgroup_memory=1 cgroup_enable=memory audit=0

cat /boot/config.txt
# See /boot/overlays/README for all available options
gpu_mem=320
initramfs initramfs-linux.img followkernel
kernel=kernel8.img
arm_64bit=1
device_tree=broadcom/bcm2711-rpi-4-b.dtb
enable_gic=1
dtparam=audio=on
hdmi_force_hotplug=1
#hdmi_enable_4k=1
#hdmi_enable_4kp60=1
dtparam=krnbt=on
enable_uart=0
[all]
include kodi-gbm.config.txt
')
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Mon Dec 07, 2020 5:10 pm

Doesn't work. Tried both $this->bbcode_second_pass_code('', 'root=/dev/mmcblk0p2') and $this->bbcode_second_pass_code('', 'root=/dev/mmcblk1p2'). Replacing these two files is causing my RPi staying at the first very colorful screen and not booting at all.
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Tue Dec 08, 2020 6:13 am

I really hope I can use 64 bit Arch on my RPi 4. Any help will be greatly appreciated.
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby gofree » Tue Dec 08, 2020 7:08 am

where did you replace it ? was your 32 bit installation working fine ? what OS did you use before on rpi4 ? installation of arch might be a bit challenging

just for info - my fstab and lsblk output

$this->bbcode_second_pass_code('', '
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.6T 0 disk
`-sda1 8:1 0 3.6T 0 part /mnt/usb_ext_primary
sdb 8:16 0 3.6T 0 disk
`-sdb1 8:17 0 3.6T 0 part /mnt/usb_ext_backup
mmcblk0 179:0 0 59.7G 0 disk
|-mmcblk0p1 179:1 0 300M 0 part /boot
`-mmcblk0p2 179:2 0 59.4G 0 part /


cat /etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0
tmpfs /var/log tmpfs rw,nodev,nosuid,noexec,relatime,size=100M 0 0
UUID=646babf4-7bb8-4ff9-a2d6-f85cb002645f /mnt/usb_ext_primary ext4 rw,relatime,discard 0 0
UUID=af0d02f5-df58-4e6b-aa30-67107565c762 /mnt/usb_ext_backup ext4 rw,relatime,discard 0 2
')
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Tue Dec 08, 2020 7:11 am

My 32 bit version works fine http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz
Everything is fine with 64 bit except no usb http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz

How much ram does your RPi 4 have. Mine is 8GB.
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby gofree » Tue Dec 08, 2020 9:17 am

mine is 8GB too, try runing journalctl -f as root and plugin keyboard or USB in to the port - maybe it will show something
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Wed Dec 09, 2020 8:37 am

@gofree, thanks. I will try it. May I clarify a few things with you:
1. what is the link to the aarch64 arch linux you downloaded?
2. did you change anything after the installation or after installation, and boom, the usb worked on your RPi 4?
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby gofree » Wed Dec 09, 2020 9:39 am

Also try dmesg command while plugging in /out usb devices.

Example from my laptop ( I beleieve in RPI it will be simmillar ) - I plugged out/in kbd,mouse.

$this->bbcode_second_pass_code('', '[17264.886883] usb 1-2: USB disconnect, device number 2
[17264.886893] usb 1-2.1: USB disconnect, device number 4
[17264.960985] usb 1-2.4: USB disconnect, device number 6
[17269.096238] usb 1-2: new high-speed USB device number 8 using xhci_hcd
[17269.230302] usb 1-2: New USB device found, idVendor=2109, idProduct=2813, bcdDevice= 2.21
[17269.230312] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[17269.230318] usb 1-2: Product: USB2.0 Hub
[17269.230322] usb 1-2: Manufacturer: VIA Labs, Inc.
[17269.235602] hub 1-2:1.0: USB hub found
[17269.236038] hub 1-2:1.0: 4 ports detected
[17269.591242] usb 1-2.1: new low-speed USB device number 9 using xhci_hcd
[17269.731260] usb 1-2.1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[17269.731274] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[17269.731282] usb 1-2.1: Product: USB Keyboard
[17269.731290] usb 1-2.1: Manufacturer: Logitech
[17269.744020] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:046D:C31C.0004/input/input22
[17269.796636] hid-generic 0003:046D:C31C.0004: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:14.0-2.1/input0
[17269.804592] input: Logitech USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:046D:C31C.0005/input/input23
[17269.857334] input: Logitech USB Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:046D:C31C.0005/input/input24
[17269.857447] hid-generic 0003:046D:C31C.0005: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:14.0-2.1/input1
[17270.116201] usb 1-2.4: new full-speed USB device number 10 using xhci_hcd
[17270.212739] usb 1-2.4: New USB device found, idVendor=145f, idProduct=0263, bcdDevice= 1.00
[17270.212750] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[17270.212756] usb 1-2.4: Product: Trust Wireless Mouse
[17270.212762] usb 1-2.4: Manufacturer: MOSART Semi.
[17270.219858] input: MOSART Semi. Trust Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.0/0003:145F:0263.0006/input/input25
[17270.220383] input: MOSART Semi. Trust Wireless Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.4/1-2.4:1.0/0003:145F:0263.0006/input/input26
[17270.220906] hid-generic 0003:145F:0263.0006: input,hiddev0,hidraw2: USB HID v1.10 Mouse [MOSART Semi. Trust Wireless Mouse] on usb-0000:00:14.0-2.4/input0
')

I downloaded it from officcial wiki, no changes related to USB except puttin external USB disks to /etc/fstab, keyboard worked out of the box.
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: AArch64 on Raspberry Pi 4 but no usb

Postby elgs » Wed Dec 09, 2020 10:14 am

@gofree what ARM laptop are you using?
elgs
 
Posts: 10
Joined: Mon Dec 07, 2020 11:25 am

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 10 guests