わらばんし仄聞記

南の国で引きこもってるWeb屋さん

After installing 64bit openSUSE to raspberry pi 3

Below are what I did after installing this OS to raspberry pi 3.

update 2017/02/03
About wifi device recognition, this was work on old OS image (openSUSE-Tumbleweed-ARM-JeOS-raspberrypi3_aarch64.aarch64-2016.10.15-Build6.1.raw.xz) as of wrote this article.
Latest OS image doesn’t recognize it by following steps.

update 2017/02/05
Latest version of Leap42.2 (as of 2017/02/05. file name is openSUSE-Leap42.2-ARM-JeOS-raspberrypi3.aarch64-2017.02.02-Build1.2.raw.xz) recognize wlan0 device by following article. Thank you b4_dooms_day san for validation!

extend main system partition

main partition of /dev/mmcblk0p2 had only 1.3GB of partition

nohostname:~ # df -hT
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  389M     0  389M   0% /dev
tmpfs          tmpfs     393M     0  393M   0% /dev/shm
tmpfs          tmpfs     393M  352K  393M   1% /run
tmpfs          tmpfs     393M     0  393M   0% /sys/fs/cgroup
/dev/mmcblk0p2 ext4      1.3G  1.2G     0 100% /
/dev/mmcblk0p1 vfat      200M  3.2M  197M   2% /boot/efi
tmpfs          tmpfs      79M     0   79M   0% /run/user/0

This isn’t enough so extend this partition.

nohostname:~ # fdisk /dev/mmcblk0                                                                                                   

Welcome to fdisk (util-linux 2.28.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x495bfe7e

Device         Boot    Start      End  Sectors   Size Id Type
/dev/mmcblk0p1          2048   411651   409604   200M  c W95 FAT32 (LBA)
/dev/mmcblk0p2        413696 61304040 60890345    29G 83 Linux
/dev/mmcblk0p3      61304832 62332199  1027368 501.7M 82 Linux swap / Solari

This partition seems have 29GB of space. so I executed command such as below

# resize2fs /dev/mmcblk0p2 29G

wifi device recognition

I referred to following links

TUMBLEWEED Wifi (Broadcom 43438) not work on Raspberry Pi 3
Re: [opensuse-arm] Still no wlan on Raspberry 3

As of now, the distributed opensuse image for raspberry pi3 doesn’t recognize wifi device by default. I could recognize wifi device by process that was written in the bottom one of above two links. And I setup wlan0 by yast after that.

Running /usr/sbin/install-brcmfmac command may output warning message /usr/sbin/install-brcmfmac: line 4: warning: command substitution: ignored null byte in input because /sys/firmware/devicetree/base/compatible include null byte character.