This PR enabled USB port present on the expansion board for the OrangePi Zero 2 sbc.
This change applies to the current edge variant of the OS for this board (Kernel 6.2.y).
How Has This Been Tested?
Requirements:
Any USB stick with basic file system present (eg. exFAT) and some files / folders on it
Logged in as root or as a user with sudo priviledges
[x] Test A: make sure the change does not break the board when used WITHOUT the expansion board
Boot up the board
Check whether the base USB port still works correctly
lsusb shows the USB stick when plugged into the port
mount /dev/sda1 /media/<mountpoint> is able to mount the USB stick plugged into the port
[x] Test B: check whether the ports work when expansion board is plugged in
Plug a USB stick into one of the additional ports
Check whether the tested port works correctly
lsusb shows the USB stick when plugged into the port
mount /dev/sda1 /media/<mountpoint> is able to mount the USB stick plugged into the port
ls /media/<mountpoint> properly enumerates files / folders on the stick
umount /media/<mountpoint> is able to unmount the USB stick
Repeat for the other port on the expansion board
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules
Description
This PR enabled USB port present on the expansion board for the OrangePi Zero 2 sbc. This change applies to the current
edge
variant of the OS for this board (Kernel6.2.y
).How Has This Been Tested?
Requirements:
Any USB stick with basic file system present (eg.
exFAT
) and some files / folders on itLogged in as
root
or as a user withsudo
priviledges[x] Test A: make sure the change does not break the board when used WITHOUT the expansion board
lsusb
shows the USB stick when plugged into the portmount /dev/sda1 /media/<mountpoint>
is able to mount the USB stick plugged into the port[x] Test B: check whether the ports work when expansion board is plugged in
lsusb
shows the USB stick when plugged into the portmount /dev/sda1 /media/<mountpoint>
is able to mount the USB stick plugged into the portls /media/<mountpoint>
properly enumerates files / folders on the stickumount /media/<mountpoint>
is able to unmount the USB stickChecklist: