Forum.ArchosFans.com

Unofficial Archos Support Forum
It is currently Mon Oct 23, 2017 11:33 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Mar 18, 2012 10:28 am 
Offline
Archos Novice
Archos Novice

Joined: Sun Mar 18, 2012 10:21 am
Posts: 1
Hi, guys. Sorry for my basic English.

I have some problem with compiled/compiling kernel for Bq Voltaire - it just not working!

As you may know, about a month ago BQ has made public GPL source code for Bq Voltaire tablet accessible for downloading.

Now the issue:
-------------------------------------
Source code of linux kernel:
http://www.mediafire.com/?en5uho61k829f89

Toolchain:
git clone -b froyo git://github.com/android/platform_prebuilt.git prebuilt_froyo

What was made:

Some changes to a Makefile:
Code:
CROSS_COMPILE :=/MYPATH/prebuilt_froyo/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-


Running compiler script:
Code:
./sh_new STM7UH

The result is "kernel.img"

I replaced the original firmware kernel with the new one and all I got is bootloops...

What I am missing?

Other thing.
I'm confused about "mkbootimg" and "ramdisk-boot" files - they are for SDK2.0 ROMs

Take a look into the sh_new script:

Some video driver correcions:
Code:
cp drivers/video/logo/STM7UH/logo_stm7uh_clut224.ppm drivers/video/logo/logo_oem_clut224.ppm -f
rm drivers/video/logo/logo_oem_clut224.c
rm drivers/video/logo/logo_oem_clut224.o


Bq Voltaire .config making:
Code:
make STM7UH_defconfig 


compilation:
Code:
make

./mkkrnlimg arch/arm/boot/Image kernel.img.tmp
cat kernel.img.tmp System.map > kernel.img


It's very close to the result of rkunpack usage:
    boot.img
    kernel.img
    kernel.img-raw
    kernel.img-symbol
    misc.img
    recovery.img
    system.img

kernel.img-raw - compiled non-packed kernel (arch/arm/boot/Image)
kernel.img-symbol - symbol table used by the kernel (System.map)

We can make kernel.img with two files:
Code:
./mkkrnlimg kernel.img-raw kernel.img-signed
cat kernel.img-signed kernel.img-symbol > kernel.img


So, kernel.img format is correct, all we need to do is run ./sh_new STM7UH

What am I doing wrong?

    arm-eabi-4.4.3 - bootloops
    arm-eabi-4.2.1 - can't compile
    arm-eabi-4.3.1 - can't compile
    arm-eabi-4.4.0 - bootloops

Any suggestions?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited