|
| 1 | +--- |
| 2 | +sys: alpine |
| 3 | +sys_ver: edge |
| 4 | +sys_var: null |
| 5 | + |
| 6 | +status: basic |
| 7 | +last_update: 2024-12-10 |
| 8 | +--- |
| 9 | + |
| 10 | +# Alpine Banana Pi BPI-F3 Test Report |
| 11 | + |
| 12 | +## Test Environment |
| 13 | + |
| 14 | +### System Information |
| 15 | + |
| 16 | +- Download Link: https://dev.alpinelinux.org/~mps/riscv64/ |
| 17 | +- Reference Installation Document: https://docs.banana-pi.org/en/BPI-F3/GettingStarted_BPI-F3 |
| 18 | + |
| 19 | +### Hardware Information |
| 20 | + |
| 21 | +- Banana Pi BPI-F3 |
| 22 | +- Power Adapter |
| 23 | +- A microSD Card |
| 24 | +- A USB to UART Debugger |
| 25 | + |
| 26 | +## Installation Steps |
| 27 | + |
| 28 | +### Flashing the Image (SD Card) |
| 29 | + |
| 30 | +After downloading and extracting the image, use `dd` to flash the image to the microSD card. |
| 31 | + |
| 32 | +```bash |
| 33 | +xz -kd bpi-f3-mmc.img.xz |
| 34 | +sudo dd if=/path/to/bpi-f3-mmc.img of=/dev/your-device bs=1M status=progress |
| 35 | +``` |
| 36 | + |
| 37 | +### Logging into the System |
| 38 | + |
| 39 | +Logging into the system via the serial port. |
| 40 | + |
| 41 | +[press ENTER to login] |
| 42 | + |
| 43 | +## Expected Results |
| 44 | + |
| 45 | +The system should boot up normally and allow login through the onboard serial port. |
| 46 | + |
| 47 | +## Actual Results |
| 48 | + |
| 49 | +The system booted successfully and login through the onboard serial port was also successful. |
| 50 | + |
| 51 | +### Boot Log |
| 52 | + |
| 53 | +Screen recording (From flashing image to system login): |
| 54 | +[](https://asciinema.org/a/g8t5bdrkncNvAKxkhTEP95W5b) |
| 55 | + |
| 56 | +```log |
| 57 | +Welcome to Alpine Linux 3.21.0_alpha20240807 (edge) |
| 58 | +Kernel 6.6.36-2-bpi-f3 on an riscv64 (ttyS0) |
| 59 | +
|
| 60 | +Welcome to Alpine! |
| 61 | +
|
| 62 | +The Alpine Wiki contains a large amount of how-to guides and general |
| 63 | +information about administrating Alpine systems. |
| 64 | +See <https://wiki.alpinelinux.org/>. |
| 65 | +
|
| 66 | +You can setup the system with the command: setup-alpine |
| 67 | +
|
| 68 | +localhost:~# uname -a |
| 69 | +Linux localhost 6.6.36-2-bpi-f3 #3-Alpine SMP Wed, 18 Sep 2024 13:41:15 +0000 riscv64 Linux |
| 70 | +
|
| 71 | +localhost:~# cat /etc/os-release |
| 72 | +NAME="Alpine Linux" |
| 73 | +ID=alpine |
| 74 | +VERSION_ID=3.21.0_alpha20240807 |
| 75 | +PRETTY_NAME="Alpine Linux edge" |
| 76 | +HOME_URL="https://alpinelinux.org/" |
| 77 | +BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" |
| 78 | +
|
| 79 | +localhost:~# cat /proc/cpuinfo |
| 80 | +processor : 0 |
| 81 | +hart : 0 |
| 82 | +model name : Spacemit(R) X60 |
| 83 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 84 | +mmu : sv39 |
| 85 | +mvendorid : 0x710 |
| 86 | +marchid : 0x8000000058000001 |
| 87 | +mimpid : 0x1000000049772200 |
| 88 | +
|
| 89 | +processor : 1 |
| 90 | +hart : 1 |
| 91 | +model name : Spacemit(R) X60 |
| 92 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 93 | +mmu : sv39 |
| 94 | +mvendorid : 0x710 |
| 95 | +marchid : 0x8000000058000001 |
| 96 | +mimpid : 0x1000000049772200 |
| 97 | +
|
| 98 | +processor : 2 |
| 99 | +hart : 2 |
| 100 | +model name : Spacemit(R) X60 |
| 101 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 102 | +mmu : sv39 |
| 103 | +mvendorid : 0x710 |
| 104 | +marchid : 0x8000000058000001 |
| 105 | +mimpid : 0x1000000049772200 |
| 106 | +
|
| 107 | +processor : 3 |
| 108 | +hart : 3 |
| 109 | +model name : Spacemit(R) X60 |
| 110 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 111 | +mmu : sv39 |
| 112 | +mvendorid : 0x710 |
| 113 | +marchid : 0x8000000058000001 |
| 114 | +mimpid : 0x1000000049772200 |
| 115 | +
|
| 116 | +processor : 4 |
| 117 | +hart : 4 |
| 118 | +model name : Spacemit(R) X60 |
| 119 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 120 | +mmu : sv39 |
| 121 | +mvendorid : 0x710 |
| 122 | +marchid : 0x8000000058000001 |
| 123 | +mimpid : 0x1000000049772200 |
| 124 | +
|
| 125 | +processor : 5 |
| 126 | +hart : 5 |
| 127 | +model name : Spacemit(R) X60 |
| 128 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 129 | +mmu : sv39 |
| 130 | +mvendorid : 0x710 |
| 131 | +marchid : 0x8000000058000001 |
| 132 | +mimpid : 0x1000000049772200 |
| 133 | +
|
| 134 | +processor : 6 |
| 135 | +hart : 6 |
| 136 | +model name : Spacemit(R) X60 |
| 137 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 138 | +mmu : sv39 |
| 139 | +mvendorid : 0x710 |
| 140 | +marchid : 0x8000000058000001 |
| 141 | +mimpid : 0x1000000049772200 |
| 142 | +
|
| 143 | +processor : 7 |
| 144 | +hart : 7 |
| 145 | +model name : Spacemit(R) X60 |
| 146 | +isa : rv64imafdcv_zicbom_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_zfhmin_zca_zcd_zba_zbb_zbc_zbs_zkt_zve32f_zve32x_zve64d_zve64f_zve64x_zvfh_zvfhmin_zvkt_sscofpmf_sstc_svinval_svnapot_svpbmt |
| 147 | +mmu : sv39 |
| 148 | +mvendorid : 0x710 |
| 149 | +marchid : 0x8000000058000001 |
| 150 | +mimpid : 0x1000000049772200 |
| 151 | +
|
| 152 | +localhost:~# setup-alpine |
| 153 | +
|
| 154 | +
|
| 155 | + ALPINE LINUX INSTALL |
| 156 | +---------------------- |
| 157 | +
|
| 158 | + Hostname |
| 159 | +---------- |
| 160 | +Enter system hostname (fully qualified form, e.g. 'foo.example.org') [localhost] |
| 161 | +
|
| 162 | + Interface |
| 163 | +----------- |
| 164 | +Available interfaces are: eth0 eth1 ip6tnl0 sit0 tunl0. |
| 165 | +Enter '?' for help on bridges, bonding and vlans. |
| 166 | +Which one do you want to initialize? (or '?' or 'done') [eth0] |
| 167 | +Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp] |
| 168 | +Available interfaces are: eth1 ip6tnl0 sit0 tunl0. |
| 169 | +Enter '?' for help on bridges, bonding and vlans. |
| 170 | +Which one do you want to initialize? (or '?' or 'done') [eth1] done |
| 171 | +Do you want to do any manual network configuration? (y/n) [n] |
| 172 | +[ 182.914702] priv phy_interface = 9 |
| 173 | +[ 183.008444] emac_phy_connect: eth0: attached to PHY (UID 0x1cc916) Link = 0 |
| 174 | +[ 183.035905] k1x_emac cac80000.ethernet eth0: registered PTP clock |
| 175 | +udhcpc: started, v1.36.1 |
| 176 | +udhcpc: broadcasting discover |
| 177 | +udhcpc: broadcasting discover |
| 178 | +[ 187.145641] k1x_emac cac80000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off |
| 179 | +udhcpc: broadcasting discover |
| 180 | +udhcpc: broadcasting select for 192.168.5.221, server 192.168.5.1 |
| 181 | +udhcpc: lease of 192.168.5.221 obtained from 192.168.5.1, lease time 43200 |
| 182 | +
|
| 183 | + Root Password |
| 184 | +--------------- |
| 185 | +Changing password for root |
| 186 | +New password: |
| 187 | +Bad password: too short |
| 188 | +Retype password: |
| 189 | +passwd: password for root changed by root |
| 190 | +
|
| 191 | + Timezone |
| 192 | +---------- |
| 193 | +Africa/ Egypt Iran Poland |
| 194 | +America/ Eire Israel Portugal |
| 195 | +Antarctica/ Etc/ Jamaica ROC |
| 196 | +Arctic/ Europe/ Japan ROK |
| 197 | +Asia/ Factory Kwajalein Singapore |
| 198 | +Atlantic/ GB Libya Turkey |
| 199 | +Australia/ GB-Eire MET UCT |
| 200 | +Brazil/ GMT MST US/ |
| 201 | +CET GMT+0 MST7MDT UTC |
| 202 | +CST6CDT GMT-0 Mexico/ Universal |
| 203 | +Canada/ GMT0 NZ W-SU |
| 204 | +Chile/ Greenwich NZ-CHAT WET |
| 205 | +Cuba HST Navajo Zulu |
| 206 | +EET Hongkong PRC leap-seconds.list |
| 207 | +EST Iceland PST8PDT posixrules |
| 208 | +EST5EDT Indian/ Pacific/ |
| 209 | +
|
| 210 | +Which timezone are you in? [UTC] |
| 211 | +
|
| 212 | + * WARNING: clock skew detected! |
| 213 | + * Stopping local ... [ ok ] |
| 214 | + * Stopping System Message Bus ... [ ok ] |
| 215 | + * Seeding random number generator ... |
| 216 | + * Saving 256 bits of creditable seed for next boot [ ok ] |
| 217 | + * WARNING: clock skew detected! |
| 218 | + * Starting busybox acpid ... [ ok ] |
| 219 | + * Starting chronyd ... [ ok ] |
| 220 | + * Setting system clock using the hardware clock [UTC] ... [ ok ] |
| 221 | + * Starting busybox syslog ... [ ok ] |
| 222 | + * Starting busybox crond ... [ ok ] |
| 223 | + * Starting System Message Bus ... [ ok ] |
| 224 | + * Starting local ... [ ok ] |
| 225 | +
|
| 226 | + Proxy |
| 227 | +------- |
| 228 | +HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] |
| 229 | +
|
| 230 | + Network Time Protocol |
| 231 | +----------------------- |
| 232 | +Sat Jan 1 00:03:24 UTC 2000 |
| 233 | +Which NTP client to run? ('busybox', 'openntpd', 'chrony' or 'none') [chrony] |
| 234 | + * rc-update: chronyd already installed in runlevel `default'; skipping |
| 235 | + * WARNING: chronyd has already been started |
| 236 | +
|
| 237 | + APK Mirror |
| 238 | +------------ |
| 239 | + (f) Find and use fastest mirror |
| 240 | + (s) Show mirrorlist |
| 241 | + (r) Use random mirror |
| 242 | + (e) Edit /etc/apk/repositories with text editor |
| 243 | + (c) Community repo enable |
| 244 | + (skip) Skip setting up apk repositories |
| 245 | +
|
| 246 | +Enter mirror number or URL: [1] |
| 247 | +
|
| 248 | + (f) Find and use fastest mirror |
| 249 | + (s) Show mirrorlist |
| 250 | + (r) Use random mirror |
| 251 | + (e) Edit /etc/apk/repositories with text editor |
| 252 | + (c) Community repo enable |
| 253 | + (skip) Skip setting up apk repositories |
| 254 | +
|
| 255 | +Enter mirror number or URL: [1] skip |
| 256 | +
|
| 257 | +
|
| 258 | + User |
| 259 | +------ |
| 260 | +Setup a user? (enter a lower-case loginname, or 'no') [no] |
| 261 | +Which ssh server? ('openssh', 'dropbear' or 'none') [openssh] |
| 262 | +Allow root ssh login? ('?' for help) [prohibit-password] |
| 263 | +Enter ssh key or URL for root (or 'none') [none] |
| 264 | + * service sshd added to runlevel default |
| 265 | +ssh-keygen: generating new host keys: RSA ECDSA ED25519 |
| 266 | + * Starting sshd ... [ ok ] |
| 267 | +
|
| 268 | + Disk & Install |
| 269 | +---------------- |
| 270 | +Available disks are: |
| 271 | + mmcblk2 (15.6 GB ) |
| 272 | +
|
| 273 | +Which disk(s) would you like to use? (or '?' for help or 'none') [none] |
| 274 | +findfs: unable to resolve 'LABEL=APKOVL' |
| 275 | +Enter where to store configs ('floppy', 'usb' or 'none') [none] |
| 276 | +Enter apk cache directory (or '?' or 'none') [/var/cache/apk] |
| 277 | +
|
| 278 | +``` |
| 279 | + |
| 280 | +## Test Criteria |
| 281 | + |
| 282 | +Successful: The actual result matches the expected result. |
| 283 | + |
| 284 | +Failed: The actual result does not match the expected result. |
| 285 | + |
| 286 | +## Test Conclusion |
| 287 | + |
| 288 | +Test successful. |
0 commit comments