November 20, 2019, 05:03:36 am

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Recent posts

Pages1 2 3 ... 10
1
About the forum / Board Upgrade
Last post by lawrence - September 18, 2019, 12:05:29 am
The forums software we use for CubieBoard Forums (SMF) was having some severe database issues.

This was causing intermittent heavy load, and crashes.
I decided dump the data, setup a new SMF install, and reconfigure.

Let me know if any issues post update.
2
Beginners / Re: sun7i spi does not work fo...
Last post by frd1995 - August 04, 2019, 03:19:35 pm
My bad. In the previous Kbuild file there was SPI_SUNXI_NDMA and I have been repalced SUNXI with SUN7I while I should write SUN7I_SPI_NDMA, not SPI_SUN7I_NDMA
3
Beginners / sun7i spi does not work for >=...
Last post by frd1995 - July 24, 2019, 02:19:06 am
Hi.
My Cubieboard2 spi work for arrays less that 64  bytes but for greater than it, I get these errors:
Operation not permitted
dmesg output:

[spi-err] sun7i_spi_handler: spi0 ERR comes, irq status = 0x00003f01
[spi-err] sun7i_spi_handler: spi0 master mode error: txFIFO overflow/rxFIFO underrun or overflow
[spi-err] sun7i_spi_xfer: spi0 cpu transfer data time out
[spi-err] sun7i_spi_xfer: spi0 xfer failed


My guess is that some thing is wrong with DMA on SPI. I did nothing to Device Tree, arch/arm/boot/dts/ directory does not exist. I also checked irq status and I figured out that 13th bit of irq status is 1.
from arch/arm/mach-sun7i/include/mach/spi.h:

#define SPI_STAT_RO         (0x1 << 5)  /* rxFIFO overflow, 0: rxfifo is available;1:rxfifo has overflowed! */
#define SPI_STAT_RU         (0x1 << 6)  /* rxFIFO underrun,fectch data with no data available in FIFO */
#define SPI_STAT_TO         (0x1 << 13) /* txFIFO overflow 0:not overflow;1:overflow */
#define SPI_STAT_ERR        (SPI_STAT_TO|SPI_STAT_RU|SPI_STAT_RO) //Slave mode,no SPI_STAT_TU

please help me how to fix this problem. I'm stuck on this for two weeks.
4
Added Buster images.
5
Wow, you are adventurous!  Or very skilled.

Hopefully someone here can help, but over on the Fedora ARM where they have lots of experience with ARM SOC with special wifi and BT that require custom kernels (this problem seems to be endemic in the arm community), they just go with a USB device.  And this is what I have done the few times I have needed this.
6
Hi there,
I am using a cubietruck for a project on which I need wifi and BT.

The use of bt 4.2 instead 4.0 would be great for my project.

So I have been looking at the AP6212 alternatives and found one module the AP6236 which is pin to pin compatible and support bt 4.2!

So my plan is to replace the AP6212 with the AP6236 module with hot air solder station.

Question is, will it work out of the boxe on the software end? Or does it need to modify some drivers?

Thanks!
7
Cubieboard v3 OS (Cubietruck) / Updated my CentOS instructions
Last post by rgmhtt - June 19, 2019, 03:51:20 pm
My Howto guides for CentOS on Cubieboards have been updated! You can get to them via:

http://www.htt-consult.com/arm.html

I recently lost a drive and had to quickly rebuild a system (fortunately not a critical use one).  It went reasonably well using my own instructions, but just was challenging to do all the select and copy work.  So I learned some CSS and Javascript and made all the text areas directly selectable/copyable.

Note the mailserver is still a work in progress.  Maybe after this distraction I will get back to it.

Enjoy!
8
Beginners / Re: What should I do to make 4...
Last post by bronxgg - June 15, 2019, 04:53:38 pm
Quote from: yakatao on October 03, 2016, 05:24:50 pm
I found this manual: http://linux-sunxi.org/Mainline_NAND_Howto but it seems outdated. "NAND detection/initialization patchset" cannot be applied to, say, https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/ HEAD.
So I tried to fix dts and dtsi files and select  'Support for NAND on Allwinner SoCs' option in menuconfig, then got this:

# mtdinfo
Count of MTD devices:           0
# dmesg | tail
[    1.969324] EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: (null)
[    1.977328] VFS: Mounted root (ext4 filesystem) readonly on device 179:0.
[    1.990871] devtmpfs: mounted
[    1.995363] Freeing unused kernel memory: 1024K (c0800000 - c0900000)
[    2.753005] systemd-udevd[163]: starting version 215
[    2.798861] random: udevd urandom read with 128 bits of entropy available
[    2.813133] random: nonblocking pool is initialized
[    5.326390] EXT4-fs (mmcblk0): re-mounted. Opts: (null)
[   11.839440] EXT4-fs (mmcblk0): re-mounted. Opts: commit=600,errors=remount-ro
[   13.521374] sunxi_nand 1c03000.nand: could not find pctldev for node /soc@01c00000/nand_base0@0, deferring probe




I have a problem with that too, thanks for the advice. I will try it
9
Suggest upload a photo of both sides of the board so i can see how its populated
10
I have a Cubie tech 2012-09-09 board and cant find any information on it, I am trying to get some info on it.
The board doesn't have a video outlet nor does it have Line in, Headphones, SATA connections. The board has provision for them but their not present.
Pages1 2 3 ... 10