Go to advanced search

by antoinebore
Thu Jun 20, 2019 7:57 am
Forum: Compute Module
Topic: LAN951X without EEPROM
Replies: 0
Views: 76

LAN951X without EEPROM

Hi, I would like to add the LAN9512 to my Raspberry Pi. In order to reduce the footprint, I thought I wouldn't connect the HUB to an EEPROM. I know that you can use the LAN951X without EEPROM and I was wondering if it's easy to configure the LAN/USB HUB without it. Do you guys recommend adding an EE...
by antoinebore
Mon Jun 03, 2019 2:54 am
Forum: Troubleshooting
Topic: Slow shutdown/reboot when hostapd is running
Replies: 1
Views: 74

Re: Slow shutdown/reboot when hostapd is running

It might not be hostapd but dhcpcd.service or dev-serial1.device.

Is there a way to analyze the shutdown time? (Like systemd-analyze blame for the boot time)
by antoinebore
Fri May 31, 2019 9:26 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1014

Re: rpiboot not working anymore

Ok.

I'll need to install a dual boot to try to flash it because once you run rpiboot on Linux, the USB go back on windows where the image isn't recognized.
by antoinebore
Fri May 31, 2019 9:19 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1014

Re: rpiboot not working anymore

I have tried to run rpiboot on an ubuntu VM. Here is the result: Waiting for BCM2835/6/7 Sending bootcode.bin Successful read 4 bytes Waiting for BCM2835/6/7 Sending bootcode.bin Failed control transfer (-4,24) Failed to write correct length, returned -4 Waiting for BCM2835/6/7 Second stage boot ser...
by antoinebore
Fri May 31, 2019 8:48 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1014

Re: rpiboot not working anymore

Yes, it works with another raspberry pi.

I first thought the CM3+ was broken but I don't understand why I would have the log in my first message if it was really broken.
by antoinebore
Fri May 31, 2019 8:45 am
Forum: Troubleshooting
Topic: Slow shutdown/reboot when hostapd is running
Replies: 1
Views: 74

Slow shutdown/reboot when hostapd is running

Hi,

I'm using my Raspberry Pi CM3 as an access point with hostapd/dnsmasq.

For the past week, the raspi sometimes takes a long time to shutdown when hostapd is running.

Do you know if it's a new problem ? I'm using this version 4.19.42-v7+.
by antoinebore
Fri May 31, 2019 4:03 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

OK, I found the problem. The server tried to use the GPIO25 which is used for the SDIO communication.

Now all work as expected, thank you for your help !
by antoinebore
Fri May 31, 2019 3:43 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1014

Re: rpiboot not working anymore

If you're not already, try running the rpiboot on a Raspberry Pi rather than on a Windows machine, which can often fail to recognise mass storage devices that aren't properly formatted... Then have a look at the output from dmesg, lsusb, lsblk and blkid Gordon But I can't access anymore to the Rasp...
by antoinebore
Thu May 30, 2019 4:11 am
Forum: Compute Module
Topic: rpiboot not working anymore
Replies: 8
Views: 1014

rpiboot not working anymore

Hi, I have a problem for flashing my raspberry PI compute modules. I'm using the CMIO board V3.0. When I start rpiboot with my CM3+, so boot is running correctly: Waiting for BCM2835/6/7 Sending bootcode.bin Successful read 4 bytes Waiting for BCM2835/6/7 Second stage boot server File read: start.el...
by antoinebore
Tue May 28, 2019 8:53 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Now it works when I install the driver on the stretch image but it doesn't work with my application (A web server is running on the raspi and the user can access to this server when he is connected to the raspi access point). So when I run the driver, I got the error : "mmc1 sdio cmd53 failed, error...
by antoinebore
Tue May 28, 2019 8:38 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hi, Thank you for the precision. Yes, I am building the driver locally without any dependencies so I don't have to rebuild the whole kernel. I don't know if this can cause stability issues but at least it works for my test. You have managed to merge the sdio-overlay with the one you sent or do you y...
by antoinebore
Mon May 27, 2019 9:01 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hi ! Have you succeeded to resolve your problem ? For my side, I decided to buy a new module and it work now (well, sometime at least). However, it doesn't run at the boot (the module wilc-sdio.ko is not loaded even if I added wilc-sdio in /etc/nodules), but this is a minor problem. One more thing, ...
by antoinebore
Fri May 24, 2019 9:13 am
Forum: General discussion
Topic: SDIO on Raspi 3B+
Replies: 0
Views: 86

SDIO on Raspi 3B+

Hi,

Is it possible to add an external device that use SDIO interfaces with the Raspberry Pi 3B+ if I disable the build-in WiFi chip ?

If so, which GPIOs should I use ?
by antoinebore
Thu May 23, 2019 8:21 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

No I haven't done that, I can't help you on this part sorry.
by antoinebore
Wed May 22, 2019 9:44 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hi, I dont see any failure of CMD52/53 no in my case. I am not 100% sure what causes the CMD52/53 failure. Also I cant get the AP mode running after following the raspberry Pi document. I can see following network interfaces. mon.wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 unspec 00-...
by antoinebore
Tue May 21, 2019 9:44 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hey Antoine, Thats good news. Congrats. I think the wiring is a big contributor to the oops, but also I think there is a bug in the driver that does not gracefully handle a CMD52 read operation failure. I will try to contact the maintainers to get it sorted. I am trying to get the SoftAP working. I...
by antoinebore
Tue May 21, 2019 3:08 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hey Antoine, Thats good news. Congrats. I think the wiring is a big contributor to the oops, but also I think there is a bug in the driver that does not gracefully handle a CMD52 read operation failure. I will try to contact the maintainers to get it sorted. I am trying to get the SoftAP working. I...
by antoinebore
Tue May 21, 2019 1:57 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hi, I found the problem. I was just trying to disconnect and reconnect the dev board like I use to do when I was using poll_once=false... Now, it works. I'm able to use it as a STA or a softAP. Thank you for your help ! Now I will try to run some test to see if the kernel oops are frequent. For the ...
by antoinebore
Fri May 17, 2019 8:37 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Good news... and bad news. It works once for me ! After that, I disconnected the wire and the kernel crashed. Now that I have rebooted the raspi, the mmc1 isn't working anymore... any idea ? [email protected]:~$ sudo cat /sys/kernel/debug/mmc1/ios clock: 0Hz vdd: 0 (invalid) bus mode: 2 (push-pull) chi...
by antoinebore
Fri May 17, 2019 8:33 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Thank you. I don't have the same version as of ATWILC1000-SD as you. I guess that the pin above the 9 SDIO pins are chip_en, irq and reset, right ?
by antoinebore
Fri May 17, 2019 8:05 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

You can compile with: $ dtc [email protected] -I dts -O dtb -o sdio-overlay-final.dtbo sdio-overlay-final.dts However, I would make the name something more meaningful like wilc_sdio.dtbo. Whatever name you choose, copy the .dtbo to /boot/overlays and add "dtoverlay=your_name.dtbo" to config.txt. Ok thank you. # /...
by antoinebore
Fri May 17, 2019 7:32 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

By the way, did you use the WILC1000 last version that you can download on the wilc1000 git or did you use the one available in raspberrypi/linux git ?
by antoinebore
Fri May 17, 2019 6:48 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Thank you for the feedback, I will try. Could you share a picture of your set up ?

Do you use your device tree like an overlay with dtoverlay=sdio-overlay-final in /boot/config.txt ?

Cheers,
by antoinebore
Fri May 17, 2019 2:17 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

I also almost succeed few times but this solution isn't consistent enough for me. Not yet, for the moment, I'm trying with the Cypress solutions as the CYW43438 is used in the Raspi 3B+. I have tried the ISM43362-L36 as I only need WiFi but it doesn't work (thread here: https://www.raspberrypi.org/f...
by antoinebore
Fri May 17, 2019 1:32 am
Forum: Compute Module
Topic: SDIO1 CM3+ WILC1000
Replies: 46
Views: 2969

Re: SDIO1 CM3+ WILC1000

Hi,

I gave up with this module and I don't have any answer for you. Maybe you can ask on their github :https://github.com/linux4wilc/driver/issues

Go to advanced search