Kitkat for A20-OLinuXino-MICRO-4GB

Started by ph.fouquet, December 02, 2014, 01:20:42 PM

Previous topic - Next topic

dave-at-axon

I copied the prebuilts from my 4.2.2 and it goes passed that point but then I get another error.

make: *** No rule to make target `external/stlport/libstlport.mk'.  Stop.

The stlport directory there in the external directory.

wildzero

@Philippe

on github i see you work on lollipop. What's the status? It's worth try compile it? Would be gorgeous to have lollipop for A20

dave-at-axon

Hi Philippe,

Have you gotten around to updating the source to include the missing files and build issues I have?

Cheers,
Dave...

PS.. I got hold of a SIMCOM RIL and managed to compile this to give me full support for the SIM5320E under 4.2.2 but it would support other SIMCOM modules too. I also added USSD support to it. Only issue is that it doesn't appear to be free so I can't post it.

ph.fouquet

Hi

wildzero :
     It's true, I'm working on lollipop but it is on progress (I have some difficulty to build it under mac os x 10.10)

dave-at-axon :
    Sorry for long time wihtout news (I didn't receive notifications) I prepare a VM under Ubuntu for building in most standard conditions.

Philippe

kair

Hi Philippe,

I am also trying to build lollipop for my A20. Currently I can compile the complete image without the changes done by Olimex. These changes will be the next step but at first I want to get the AOSP running.

For Lollipop I use the newer sunxi kernel from branch experimental/sunxi-3.14-android and the newest version from u-boot from sunxi-git repository.
The kernel is currently booting from NFS, so the first step is done. Image does not like to boot from SD card, I always get the messages on UART0 console:

MMC: block number 0x44a001 exceeds max(0x3c9400)
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: block number 0x44a001 exceeds max(0x3c9400)
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
MMC: block number 0x44a001 exceeds max(0x3c9400)
** Unrecognized filesystem type **
MMC: block number 0x44a004 exceeds max(0x3c9400)
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **

Maybe someone of you has an idea how to get along. My first idea was the kernel is too big so I stripped it down to 3.5 MB (from 4.5 MB) without success. I also changed the partition table as Philippe has done in his lichee repository.
My SD card has a capacity of 2 GB, the image file of pack has a size of 421 MB.

Kind Regards,
Kai

Dredd

anyone have build image and wants to share for test :)
i try to build but in last step "pack" got this error

fsbuild bootfs.ini split_xxxx.fex [OK]
dragon image.cfg sys_partition.fex [Failed]

refer to out/pack.log for detail information.

ERROR: Packing Failed.
/public/android4.4/android

dave-at-axon

Hi Dredd,

I think this is a Perl issue. There was a post about this on my blog and I think this fixes it.

sudo apt-get install libswitch-perl

If that does not work, copy and paste the error into Google as it seems to be a common failure.

Also, I assume you used extract-bsp for to copy the modules and kernel? This is created by the envsetup.sh file.

Dredd

android compile look like normal, but can not pack image
after pack command

File compression utility for Allegro 4.4.2, Unix
By Shawn Hargreaves, 2011

Usage: 'pack <in> <out>' to pack a file
       'pack u <in> <out>' to unpack a file


what is wrong

deskwizard

#23
Hi guys,

What kernel are you guys using on this build ?
The same 3.4.39 from 4.2.2 SDK or the latest sunxi ?

Thanks,
DW

deskwizard

Yep seems like it is.

For some reason I can't clone the repo, hangs at 99%, tried the mentionned fix from AOSP, nada... might be Hyper-V related. Will try again this week when the proper PC comes

deskwizard

#25
Quote from: dave-at-axon on December 04, 2014, 04:37:51 AM
Thanks Philippe, got it this time.

Got an error when I try to build.

cp libnand libnand.a
cp: cannot stat `libnand': No such file or directory

When I check there is no output files in there. When I check the original 3.4 kernel I use with 4.2.2 there are build files.

For the time being, I have copied my existing lichee directory from 4.2.2 as this includes the drivers I need anyway.

Now to try building Android.

Same error over here, will use my kernel with kitkat... it finally finished syncing, i just had to complain apparently :P

It should be built by like... tomorrow... *sigh* lol

deskwizard

#26
No luck...
Build and pack successfully but no partitions are found booting from SD card nor NAND... Image is way smaller, which makes me think part of the filesystem is missing, can't even adb in since well, the shell is missing

- exec '/system/bin/sh' failed: No such file or directory (2) -

Same result using my system.fex btw, using the usual kernel I use with 4.2.2, which I have the feeling is precisely the issue

Damn... I was so happy it compiled and packed properly
Too bad Philippe isn't around to help anymore :(

Quote from: kair on January 04, 2015, 02:46:32 PM
I also changed the partition table as Philippe has done in his lichee repository.

Yep thats likely why it's not booting

deskwizard

#27
Compiled his kernel (copied libnand over from mine) and here's the result. Looks like the system is booted, but idk... Again, waste of time.

[    0.571282] Invalid MAC address. Calcul random one !!
[    1.369652] something wrong in chip id
[    2.059543] something wrong in chip id
[    2.064485] something wrong in chip id
[    2.782936] something wrong in chip id
[    2.943782] init: /dev/hw_random not found
[    2.949063] init: FB_OPEN failed!
[    5.230229] healthd: wakealarm_init: timerfd_create failed
[    5.549721] something wrong in chip id
[    6.000851] i2c i2c-1: Invalid 7-bit I2C address 0x00
[    6.327159] [gpio-err] __pio_to_irq: invalid pio to irq
[    6.333963] [gpio-err] __pio_to_irq: invalid pio to irq
[    6.340777] [gpio-err] __pio_to_irq: invalid pio to irq
[    6.347598] [gpio-err] __pio_to_irq: invalid pio to irq
[    6.361856] android_usb: already disabled
[    6.368754] something wrong in chip id