dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10
A10 boot files
roberts:
Looks like you are trying to use some Linaro Ubuntu scripts?
If you used the kernel config from git hub then it will not work with Core.
If you have compiled your kernel with a10Core-kernel.config and added your specific requirements then if all you have is a new kernel uImage then copy to your sdcard and test.
If you have made new modules then unpack uCore is a gzipped cpio and add the modules and repack then copy to sdcard and test.
persian:
Dear robert,
Would you please tell me how to enable GPIO and SPI functions and make an image for Marsboard (a10_mid_1gb) with image [a10Core-20130712.img.gz] ?
I don't know how to config [a10Core-kernel.config] file and compile it with source of TCL (linux-sunxi-g2d.zip) for image (a10Core-20130712.img.gz) to enable GPIO and SPI functions.
Would you please describe how to modify [a10Core-kernel-3.0.42.config] file and compile it with source of TCL in step by step ?
Thak you.
roberts:
Please see: http://forum.tinycorelinux.net/index.php/topic,13827.msg78685.html#msg78685
Use this as your starting .config http://tinycorelinux.net/5.x/armv7/a10Core-kernel.config
then using make menuconfig to set your specific requirements, GPIO & SPI
roberts:
persian,
If you would rather just have the modules you need, then please specify then in the a10Core-kernel.config and I will compile those modules and create an after boot loadable extension.
If successful, then in kind, I would ask you to post here in our forums how you use GPIO and SPI.
persian:
Dear Roberts,
Thank you for your replies to my questions.
I wish to use Ugly GPIO driver functions and also SPI functions, but I am beginner in linux and I decided to learn how to write programs for device drivers in linux with the help of [The linux programming interface] book and [ Writing device drivers in Linux_ A brief tutorial ] paper.
I want to write driver for my designed hardware devices.
Would you please enable for me GPIO and SPI functions for the [a10Core-20130712.img.gz] TCL image?
My arm training device is Marsboard [a10_mid_1gb].
I wish to learn the steps of modifying kernel and make TC linux image too.
I done your guided steps but I get the following error:
tc@box:/mnt/mmcblk0p2/tce$ ./arm-2010.09-50-arm-none-linux-gnueabi.bin
Checking for required programs: awk grep sed bzip2 gunzip
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: '/lib/libc.so.6': No such file
Launching installer...
/mnt/mmcblk0p2/tce/install.dir.13202/Linux/resource/jre/bin/java: line 1: syntax error: unexpected "("
Thank you
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version