Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello
I'm trying to use a display ST7735 in an A133 processor from Allwinner (sun50iw10p1), but the device is not being loaded during Kernel boot, I'm getting the error message "probe of spi2.0 failed with error -12".
After some research, I discovered that this error happens when there is a lack of memory, but which kind of memory? I tried different things in the device tree, tried different things in the kernel configuration file, but nothing changes.
It cannot lack RAM or flash, the full memory configuration that I'm using is 2GB RAM and 16GB of flash memory.
What can I try to overcome this error message?
In the kernel configuration file, I have:
CONFIG_SPI=y
CONFIG_SPI_SUNXI=y
CONFIG_SPI_SPIDEV=y
Hi,
at first would be nice to use code tags, that will make your post more readable.
Quote:
Originally Posted by eric976
Hello
I'm trying to use a display ST7735 in an A133 processor from Allwinner (sun50iw10p1), but the device is not being loaded during Kernel boot, I'm getting the error message "probe of spi2.0 failed with error -12".
Probably it is already loaded?
Quote:
Originally Posted by eric976
After some research, I discovered that this error happens when there is a lack of memory, but which kind of memory?
This is the main memory, the RAM.
Quote:
Originally Posted by eric976
I tried different things in the device tree, tried different things in the kernel configuration file, but nothing changes.
It cannot lack RAM or flash, the full memory configuration that I'm using is 2GB RAM and 16GB of flash memory.
What can I try to overcome this error message?
Yes, 2 GB should be enough, but I think it needs some dedicated area which is already occupied.
Hi,
at first would be nice to use code tags, that will make your post more readable.
Probably it is already loaded?
This is the main memory, the RAM.
Yes, 2 GB should be enough, but I think it needs some dedicated area which is already occupied.
Thanks for your answer... Just some updates...
Update: I was debugging what was happening inside the functions located in the file fbtft-core.c and I saw that the issue is related to the DMA.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.