Cubox

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Compile cubox kernel

Postby replabrobin » Sat Jul 07, 2012 12:05 pm

Hi Pepedog,

I managed to get my cubox up and running with your rootfs. I did the install to the micro sd before the cubox arrived, but am glad to say it worked right away. I could not get much done with the ubuntu as the console was completely swamped with timing messages (due to lack of a monitor).

Anyhow I would like to compile my own kernel with the video memory reduction built in. I'm not planning to use the cubox fully at present.

I noticed that you have a kernel source in /usr/src. Is it best for me to compile with abs using the linux-cubox 3.4-1 pkg or is there something special about your kernel source?
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: Cubox

Postby pepedog » Sat Jul 07, 2012 12:58 pm

The kernel source comes from https://github.com/rabeeh/linux but appears to be Linux 3.5-rc5 which should be ok still.
If you
git clone git://github.com/archlinuxarm/PKGBUILDs.git
cd PKGBUILDs/core/linux-cubox
Modify the PKGBUILD so you uncomment make menuconfig
then you can makepkg and install with pacman
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cubox

Postby cyberic » Mon Jul 09, 2012 10:42 am

Did anyone have experience with XBMC on the cubox? The hardware can decode h264, but what about other codecs?
Thanks
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: Cubox

Postby replabrobin » Mon Jul 09, 2012 1:28 pm

Hi pepedog, I am trying out the build process and although I can get through the config stage making some reasonable assumptions about stuff that's not present in the PKG config already makepkg is failing with the first attempt at loading eg
$this->bbcode_second_pass_code('', ' CC init/main.o
ld: unrecognized option '-Wl,-O1,--sort-common,--as-needed,-z,relro'
ld: use the --help option for usage information
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
')

anyone know what this relates to. I guess it must be the latest kernel using something that our toolchain doesn't provide.
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: Cubox

Postby WarheadsSE » Mon Jul 09, 2012 1:35 pm

Actually, it is barking at you for '-Wl'
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubox

Postby replabrobin » Mon Jul 09, 2012 1:57 pm

I looked in vain for where that string or bits of it eg relro wer present in the src/linux folder, but couldn't find it.
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: Cubox

Postby replabrobin » Mon Jul 09, 2012 2:25 pm

I found that set of options in the /etc/makepkg.conf file ie

LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

and that is present on some other systems as well. What should this be for the cubox? Looking at ld --help I see there aren't any options -W, but that didn't matter on the sheeva.
replabrobin
 
Posts: 110
Joined: Tue Nov 30, 2010 11:18 am

Re: Cubox

Postby slashproc » Sat Jul 21, 2012 2:11 am

$this->bbcode_second_pass_quote('pepedog', 'T')he kernel source comes from https://github.com/rabeeh/linux but appears to be Linux 3.5-rc5 which should be ok still.
If you
git clone git://github.com/archlinuxarm/PKGBUILDs.git
cd PKGBUILDs/core/linux-cubox
Modify the PKGBUILD so you uncomment make menuconfig
then you can makepkg and install with pacman


What packages do you have installed? When I try to compile I always get a segmentation fault and it aborts after some time into the process.
slashproc
 
Posts: 7
Joined: Sat Jul 21, 2012 2:00 am

Re: Cubox

Postby cyberic » Mon Jul 23, 2012 1:01 pm

Hello

The cubox seems to be relly great!
I'd like to know:

Is the rootfs hardfp or softfp?
is the dovefb driver integrated?

Thanks
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: Cubox

Postby WarheadsSE » Mon Jul 23, 2012 1:07 pm

1) hardfp, since it is v7
2) .. hmm, define "integrated"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 4 guests