Page 12 of 12
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Tue Apr 16, 2024 5:18 pm
by pavel
Since the ACP port does not work for your application and using CMA without ACP makes no sense, I think the solution for you is to not use CMA and go back to the previous solution by limiting the memory available for Linux via device tree.
This can be done by adding the following lines to the first section of dts/common.dts:
Code: Select all
memory@0 {
reg = <0x0 0x10000000>;
};
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Wed Sep 11, 2024 10:33 pm
by fbalakirev
Hi Pavel,
Could you please describe how port selection is made in axi_hub.v?
Namely, for example. when interface 0 in axi_hub is addressed, how does it selects between b00_bram and s00_axis/m00_axis?
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Thu Sep 12, 2024 4:37 pm
by pavel
It does not really select between b00_bram and s00_axis/m00_axis. Normally, b00_bram and s00_axis/m00_axis are not used simultaneously. The selection is therefore carried out by the developer during the process of interconnecting blocks and interfaces.
If a BRAM is connected to b00_bram and at the same time a FIFO is connected to m00_axis, then data will be written to both the BRAM and the FIFO.
For reading, s00_axis has priority over b00_bram. So b00_bram is read only when s00_axis_tvalid is low.
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Tue Oct 01, 2024 7:23 pm
by fbalakirev
Hi Pavel,
I tried merging and compiling the latest SD card image, but I run into errors related to realtek driver:
Code: Select all
drivers/net/wireless/realtek/rtl8188eu/os_dep/linux/ioctl_cfg80211.c:462:17: error: too few arguments to function ‘cfg80211_ch_switch_started_notify’
462 | cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/realtek/rtl8188eu/include/osdep_service_linux.h:98,
from drivers/net/wireless/realtek/rtl8188eu/include/osdep_service.h:54,
from drivers/net/wireless/realtek/rtl8188eu/include/drv_types.h:27,
from drivers/net/wireless/realtek/rtl8188eu/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8616:6: note: declared here
8616 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/realtek/rtl8188eu/os_dep/linux/ioctl_cfg80211.c:474:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
474 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/realtek/rtl8188eu/include/osdep_service_linux.h:98,
from drivers/net/wireless/realtek/rtl8188eu/include/osdep_service.h:54,
from drivers/net/wireless/realtek/rtl8188eu/include/drv_types.h:27,
from drivers/net/wireless/realtek/rtl8188eu/os_dep/linux/ioctl_cfg80211.c:17:
Do you happen to have any insight how to rectify these errors?
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Tue Oct 01, 2024 7:51 pm
by pavel
It looks like you are using a newer version of the Linux kernel and an older version of the rtl8188eu driver. Try to do a complete rebuild:
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Wed Oct 02, 2024 8:41 pm
by fbalakirev
Thank you again Pavel.
By the way, after some poking around, I was able to resolve the issue with the image script that I have mentioned few months ago in this thread. I ended up adding a --partscan option to losetup command on line 15 of your image.sh script.
pavel wrote: ↑Tue Oct 01, 2024 7:51 pm
It looks like you are using a newer version of the Linux kernel and an older version of the rtl8188eu driver. Try to do a complete rebuild:
Re: SD card image with Debian 8.0, Red Pitaya web server and SDK
Posted: Mon Oct 28, 2024 9:50 pm
by fbalakirev
Hi Pavel,
I wonder if it would be possible to utilize recent Red Pitaya EEPROM calibration utility with red pitaya notes debian image? I recall that you used to maintain debian-ecosystem script in the years past which provided some of the vendor functionality, but I guess the development branches diverged too far by now?