-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config options for supporting openlabs 802.15.4 radio? #1151
Comments
kernel: config: Add CONFIG_CRYPTO_USER_API_SKCIPHER See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121892&p=824204&hilit=cryptsetup#p824204 kernel: config: Add options for supporting openlabs 802.15.4 radio See: raspberrypi/linux#1151 firmware: arm_loader: Add clear of polled register so linux doesn't report a timeout in bcm2709_boot_secondary See: #369 firmware: arm_loader: Fix HAT probing to always restore the original state See: raspberrypi/linux#1144
kernel: config: Add CONFIG_CRYPTO_USER_API_SKCIPHER See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121892&p=824204&hilit=cryptsetup#p824204 kernel: config: Add options for supporting openlabs 802.15.4 radio See: raspberrypi/linux#1151 firmware: arm_loader: Add clear of polled register so linux doesn't report a timeout in bcm2709_boot_secondary See: raspberrypi/firmware#369 firmware: arm_loader: Fix HAT probing to always restore the original state See: raspberrypi/linux#1144
I've added the config options to latest rpi-update. |
I'll write one tomorrow and attach the .dtb for testing. |
A .tgz containing the source and .dtb file for the overlay can be found here. The extract from the README say:
There have been some slight changes - SPI clock speed now 750KHz, the use of a level-sensitive interrupt, and the addition of the trim parameter - based on information found online. Unless I hear of a problem this will appear in the next release. |
That's great! Thank you for the quick response. Would you, @alexaring (linux-wpan) or @benemorius (openlabs), have any comments on this? |
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: #1151
I've pushed the commit containing the overlay. Let me know if you experience any problems, and close the issue if it works. |
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: #1151
See: #481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: #414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
See: raspberrypi/firmware#481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: raspberrypi/firmware#414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
Hi, Otherwise it's looking good. Thanks. Please refer: http://lists.infradead.org/pipermail/linux-rpi-kernel/2015-May/001685.html |
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
Thanks for the feedback, @alexaring - I've reduced the default clock frequency to 6MHz, @katiska OK to close? |
I'm still hitting that data corruption issue at 6 MHz. In my case it seems that the frequency needs to be lowered down to 4 MHz to make it work properly. |
Okay, make it so. I am still fine with 4 Mhz to be sure all openlabs module will working properly. Did you test it with 4 Mhz and everything was working fine then? |
Well, I haven't really managed to set up a proper WSN system yet. Just by looking at the periodic RPL DIS packets sent by a CC2650 SensorTag (Contiki), Wireshark showed a lot of corrupt packets at 6 MHz and 5 MHz. At 4 Mhz all the packets I saw were OK. I need to do more testing with proper configuration and traffic. |
On Raspberry PI 2 with the openlabs 802.15.4 radio, I had to reduce the speed to 2MHz. In my /boot/config.txt: dtoverlay=at86rf233,speed=2000000 |
Any advance on 2MHz? It would be nice to establish a safe maximum. |
OK, did a further binary chop, and it is also stable at 3Mhz. Definitely does not work for me at 4MHz (I retested). My setup is three Raspberry PI 2s; one radio in monitor and the other two running 6lowpan and showing IPv6 traffic successfully passing. |
I am fine with 3 Mhz if this seems to be working correct as a maximum safe value. |
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: #1151
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: #1151
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: #1151
The AT86RF233 has been found to be unreliable on a 7.5MHz SPI bus, so reduce the default frequency to 6MHz. See: #1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
kernel: config: Add CONFIG_CRYPTO_USER_API_SKCIPHER See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=121892&p=824204&hilit=cryptsetup#p824204 kernel: config: Add options for supporting openlabs 802.15.4 radio See: raspberrypi/linux#1151 firmware: arm_loader: Add clear of polled register so linux doesn't report a timeout in bcm2709_boot_secondary See: raspberrypi#369 firmware: arm_loader: Fix HAT probing to always restore the original state See: raspberrypi/linux#1144
See: raspberrypi#481 kernel: bcm2835-gpiomem: Fix for ARCH_BCM2835 builds See: raspberrypi/linux#1154 kernel: BCM270X_DT: Add at86rf233 overlay See: raspberrypi/linux#1151 kernel: BCM270X_DT: Make mmc overlay compatible with current firmware firmware: arm_loader: Support DT commands in included files See: raspberrypi#414 firmware: di_adv: Need up align up height to at least 4 See: https://discourse.osmc.tv/t/problems-with-divx5-videos-after-september-update/8499/7 firmware: Allow loading of tuning data from a memory block
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Add an overlay to support the Atmel AT86RF233 WPAN transceiver on spi0.0. See: raspberrypi/linux#1151
The consensus is that 6MHz is too fast, but that 3MHz is OK. See: raspberrypi/linux#1294 raspberrypi/linux#1151
Would it be possible to include the config options required by the openlabs 802.15.4 radio?
This allows the RasPi to be used as a 6LoWPAN border router using linux-wpan.
The required kernel options and .dts: (source)
The text was updated successfully, but these errors were encountered: