Xenomai for A13 - A10

Started by crubille, February 04, 2013, 10:55:17 PM

Previous topic - Next topic

Tele

Ooops sorry, its my fault.
I thought that A10s was sun4i, a variant of A10. I'm sorry.

In this case, use your own working config. (Whats work in general with your card, without xenomai, and you like it)

So, start it again, (remove everything), and when its done just do overwrite the .config file in the kernel directory, with your's one. And then you can start compiling.

It should work, I'm sure. I hope so.

Greg

#196
So
1. run doit.sh from linux-sunxi-v3.4.12-r4-xeno-2.6.2.1-A10_A13-3.tar.gz
2. replace .config with my own
3. make image and modules
Am I right ?

But my A10s config is from 3.4.61 and can't be just replaced.
I presume that instead of replacing I have to compare your config with my and make changes. Is that true ?

EDIT:

I have changed config and it is booting but I missed something:

[info] Loading kernel module gpio-sunxi.
FATAL: Module gpio-sunxi not found.

and

[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "eth0"
Bind socket to interface: No such device
Failed to bring up eth0.
done.
[....] Cleaning up temporary files.... ok
[....] Setting up ALSA...warning: 'alsactl restore' failed with error message 'No state is present for card sun5icodec


Halt results is
"[751.220000] >>>no handle, treat it handle over" continuously displayed on console.

I will look at it later, have to go to work now.

Tele

Quote from: Greg on March 24, 2014, 11:59:02 PM
So
1. run doit.sh from linux-sunxi-v3.4.12-r4-xeno-2.6.2.1-A10_A13-3.tar.gz
2. replace .config with my own
3. make image and modules
Am I right ?

Yes, exactly, you're right.
Its a pernickety job, takes some time, and you have to be precise. Don't miss nothing.
Usually I open 2 terminal windows and I run menuconfig on both of them side by side, comparing submenu by submenu, the reference kernel's(3.4.61) menuconfig and this 3.4.12 kernel's menuconfig. Thats the most safe method.