dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10
A10 boot files
roberts:
I am not knowledgable on GPIO and SPI as these have more to do with the maker crowd and are not needed for desktop.
You don't have any spi devices.
See: ls -l /dev/spi*
As far as your question about rebooting:
One step at a time. First be sure the module works then you can make a simple sce for them that will load upon boot.
persian:
Dear Roberts,
I configured the script.bin for GPIO and SPI .
GPIO module works fine but I must run insmod every time I reboot the Marsboard.
I don't know how to make a loadable sce for boot time.
Also the insmod of SPI module makes Segmentation fault error.
My SPI settings in script.bin are as follow:
[spi0_para]
spi_used = 1
spi_cs_bitmap = 1
spi_cs0 = port:PI10<3><default><default><default>
spi_sclk = port:PI11<3><default><default><default>
spi_mosi = port:PI12<3><default><default><default>
spi_miso = port:PI13<3><default><default><default>
[spi1_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA00<4><default><default><default>
spi_sclk = port:PA01<4><default><default><default>
spi_mosi = port:PA02<4><default><default><default>
spi_miso = port:PA03<4><default><default><default>
[spi2_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PB14<2><default><default><default>
spi_sclk = port:PB15<2><default><default><default>
spi_mosi = port:PB16<2><default><default><default>
spi_miso = port:PB17<2><default><default><default>
spi_cs0 = port:PC19<3><default><default><default>
spi_sclk = port:PC20<3><default><default><default>
spi_mosi = port:PC21<3><default><default><default>
spi_miso = port:PC22<3><default><default><default>
[spi3_para]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = port:PA05<3><default><default><default>
spi_sclk = port:PI06<3><default><default><default>
spi_mosi = port:PI07<3><default><default><default>
spi_miso = port:PI08<3><default><default><default>
spi_cs1 = port:PA09<3><default><default><default>
[spi_devices]
spi_dev_num = 1
[spi_board0]
modalias = "My SPI port-0"
max_speed_hz = 12000000
bus_num = 1
chip_select = 0
mode = 3
full_duplex = 0
manual_cs = 0
Thank you for your helps.
roberts:
There are many changes in this area with newer kernel. Should be worth investigating, e.g.
CONFIG_SPI_SPIDEV
persian:
Dear friends;
Hi,
Today my import did not work and it exit by no error!
When I traced the /usr/bin/import script file, I found that the first wget command with the following parameters return an error:
The line:
wget -O /tmp/.depfile -cq "$IMPORTMIRROR"/PKGADDDEPS 2"
with the final content:
wget -O /tmp/.depfile -cq http://repo.tinycorelinux.net/5.x/import/PKGADDDEPS 2
Returned message:
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
What's wrong ?
Also I need a command like lsusb but I don't find it.
Please help me about these problems.
Thank you.
roberts:
Make sure your /tmp directory is writable by user tc.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version