redbear / IoT_pHAT

WiFi + Bluetooth, designed for the Raspberry Pi Zero
110 stars 32 forks source link

Problems in ArchArm #16

Open newaddressunknown opened 7 years ago

newaddressunknown commented 7 years ago

The IoT_pHAT seems to be not recognized as a wifi-device in ArchARM. What would be the next place to look into for debbuging?

procount commented 7 years ago

Looks like the same issue as NOOBS had. See its resolution in v2.1 https://github.com/raspberrypi/noobs/commit/9e9184c1ac9f7d022ca977661b42d90579dae5dc

newaddressunknown commented 7 years ago

looking at https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-raspberrypi/config.v6 it seems, that these options are already enabled by default. My current kernel is Linux alarmpi 4.4.33-1-ARCH #1 Sat Nov 19 14:05:02 MST 2016 armv6l GNU/Linux

Is there a way to check at runtime wether the options are enabled? Checking the enabled options: cat /proc/config.gz | gunzip > running.config produced the attached file. running.config.txt

The options CONFIG_POWER_SUPPLY=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_GPIO=y are set

after adding the modules i2c-bcm2708 i2c-dev to load at startup, I get the following i2cdetect-output

$ sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --

halocaridina commented 7 years ago

I can confirm that the IoT_pHAT is not recognized as a wifi-device in ArchARM. In contrast, booting the same Pi Zero and IoT_pHAT off a clean install of Raspbian/Jessie Lite 2016-11-25 and was connected to the Internet in 2 min. Some quick comparisons between ArchARM running on the Pi Zero vs a RaspPI 3B regarding kernel compilation options, kernel modules/drivers and firmware found no obvious differences. Still need to do some comparisons of these between ArchARM on the RaspPI 3B vs. Jessie Lite 2016-11-25 on the Pi Zero to see what might be needed to get the IoT_pHAT up and running in ArchARM.

Do the Redbear developers of the IoT_pHAT have any suggestions for people on ArchARM to try?