October 20, 2020, 03:29:11 pm


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

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MaQ

Accessories / Simple cubieboard case for 2.5" HDD
October 06, 2014, 04:56:07 am
It may be useful for somebody. I have made following case for my cubiaboard.
I send plans as .dxf file to Advertising Company which cut and bend 2mm thick plexiglass.
To combine board with the case i use plastic L shape profile bought in castorama.
Summary costs ~6$
The .dxf file shows top of the case. I decide to leave base open to easy attach shields.
I upgrade cubie_config from Cubieez.
I add nand install option from cubian.
It should work fine for all systems from sd card
I upgrade cubie_config from Cubieez.
I add nand install option from cubian.
It should work fine for all systems from sd card
I upgrade yours cubie_config - add nandinstallation option
Development / Cubie_config
September 14, 2013, 06:55:30 am
Hallo base on cubieez(drkbcn) modification of rpi_config and https://github.com/mmplayer/nandinstall script I have create cubie_config with easy nand install option.
You can get it from:
should work for any sd image uImage nad script.bin is get from /boot dir
General Discussion / Re: Community creation?
July 26, 2013, 05:56:11 am
I don't know if you also think about it but it would be nice to provide repo for packages for cubie.. e.g. XBMC binariesor additional libs for IO programming like python-spi tested and
avilable from apt-get..

Tips, Tricks and Guides / Re: Compiler Tweaks
July 12, 2013, 07:39:59 am
found more:

export CFLAGS="-mthumb -march=armv7-a"

& kernel config option
Kernel Features --->
  (*) Compilethe kernel in Thumb-2 mode [CONFIG_THUMB2_KERNEL=y]
I have had problems with wifi dongle base on realtek RTL8191SU. It use r8712u module which was missing. Compiling single module (by cross compiler & natively) provide:
ERROR: could not insert 'r8712u': Exec format error

Recompilation whole kernel helps.
Kernel compile base description: http://jas-hacks.blogspot.com/2012/10/hackberry-a10-compiling-kernel-armhfs.html

---kernel compile in my way  ;):
#apt-get install gcc-arm-linux-gnueabihf build-essential git uboot-mkimage libncurses5-dev
---not need changes history.. (git clone)
#wget https://github.com/mmplayer/linux-sunxi/archive/sunxi-3.4.zip
#cd linux-sunxi-sunxi-3.4
---gets current config  (backup old if exist)
#mv .config .config-old
#scripts/extract-ikconfig /boot/uImage >.config
#make ARCH=arm menuconfig
---modify configuration
Removing some unnecessary modules eg. strange partition types support
adding my wifi module
Device Drivers  --->
   Staging drivers  --->
      (M) RealTek RTL8712U (RTL8192SU) Wireless LAN NIC driver
adding spi support (will use it in future)
SPI support  --->
   (M) SUN4I SPI Controller
   (M) User mode SPI device driver support
#make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j3 uImage
#make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j3 INSTALL_MOD_PATH=output modules
#make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j3 INSTALL_MOD_PATH=output modules_install
---copy img and modules to ssd card
#cp arch/arm/boot/uImage /media/BOOT/
#cp -rp output/lib/modules/3.4.43/kernel /media/debian/lib/modules/3.4.43

worth to consider to use this flags
#export CFLAGS='-mfloat-abi=hard  -mfpu=neon  -mcpu=cortex-a8 -mtune=cortex-a8 -O3 -funroll-loops'
fallow by: http://www.cubieforums.com/index.php/topic,56.0.html

What I see (menuconfig) that default sunxi kernel config used in cubian r3 does not fit to our board. I expect that kernel will be better optimized smaller and faster.

I will try to better optimalization on my own (maybe this will be good start point: https://www.miniand.com/forums/forums/development--5/topics/linaro-ubuntu-custom-server-images-armhf - this kernel waight less)

Another step will be CedarX and Xbmc tests with cubian. Already test it with few images http://linux-sunxi.org/More-images and even create own.. unfortunatly mali400 drivers (even CedarX) does not play good - to compare see XBMC on android.

What is nice that we finally get distribution dedicated to our board.

Than you Cubieplayer