Android Tablets Forum banner
1 - 20 of 25 Posts

·
Registered
Joined
·
1,014 Posts

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #4 ·
I'm still looking at it,I'm not sure we have all the board related drivers in here.
But i need some time to correlate what's in the choose with what appears when digging through the device.

there's option for customer boards in the kernel,but no code for those options.
so I'm not certain how much will work from the outset.
it is however a huge start.

is also say the coffee looks genuinely good.compared to the likes of samsungs code is very clean.ace!
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #6 ·
Without building it I really don't know yet.
Be aware I don't do demands and I ignore "i want this posts" ...

If you want something specific then you build it. This is the beauty of open source.

I'm going to be getting this working as best I see fit, with as few bugs as I can manage, a group effort will see faster results

Sent from my ELF-II using Tapatalk 2
 

·
Registered
Joined
·
1,014 Posts
Perhaps you should add your fixes to the github.

I too got it to build. I first had to create a copy of arch/arm/configs/meson6smp_defconfig named meson6_g02_defconfig. That got me a reasonable config file that builds. I ran "make xconfig" and studied the configuration file and added a few things to it. Plus, there seemed to be a few things not selected that I felt should have been, but I did not make those changes....yet.

I have two problems so far. One, it doesnt seem to be building the extra modules I have included, such as the bluetooth stuff and pl2303 module. I am looking for these modules in the common/.out/modules directory. Perhaps it is putting them somewhere else? If so, where?

Second, I am getting this error at the very end of the compile.

cp: cannot create regular file `/home/hines_j/android-sdk-linux_x86/elf2/root//boot/': Is a directory
make: *** [pmodules] Error 1

This is the command line I am using to build:
make -f kernel.mk TARGET=g02 INSTALL_ROOT=/home/hines_j/android-sdk-linux_x86/elf2/root/

I am just not sure what to put after the INSTALL_ROOT=. Obviously what I have is not right. Should this be pointing to some type of pre-made empty img file? I am thinking maybe it is trying to build a boot.img or bootloader.img file at this point. Help!!
looks like you should
drop the final / off your install root
the cp is automatically inserting one,so you end up with root//boot
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #34 ·
sorry not had time to test this yet as booting , but it built with gcc 4.6 (some minor tweaks) and with CS 201203
without a serial console its going to be difficult to work out how to progress without full patches.
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #42 ·
The touchscreen is likely to be the same in both devices, and the only real difference is the ips isn't it?
I only have an Elf II, (can't afford an aroura ii to test)

We need lcd/ips to get some kind of output before worrying about touch.

Sorry not being much help at the moment, been bed bound for a few days with not a lot of time awake.

Sent from my ELF-II using Tapatalk 2
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #43 ·
Anarsoul, did you build a new uboot to go with the zimage? What did you use for the memory address in the command line when building the boot. img

Sent from my ELF-II using Tapatalk 2
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #45 ·
Yeah...
One does output the other input usually


Of course that's never 100% when it comes to some of these small GPL violators.. God knows what they do
.

In seriousness the touchscreen and lcd are more commonly bonded together, and so physically they are one.
however electrically they are different. Often the touchscreen is driven by a programmable micro cpu can be a tricky thing to get the code right, (the one in the hans pad was 2 touchscreens joined together and controlled by said microcpu). and so if we have that already we're doing well..

Sent from my ELF-II using Tapatalk 2
 

·
Registered
Joined
·
1,014 Posts
Just had a look and there only seems very generic amlcd devices inside the rom

3 i2c channels
i2c0 has
0x38 ft5x06 touchscreen
0x03c gt2005-i2c cmos sensor
i2c1 has
1x018 bma250 accelerometer
1x01a wm8960 wolfson audio code.
I2c2 has
2x034 Axp20, multifunction power management

I'd say all these are soc so likely to be in the amlogic common.
The cmos is common enough to have existing code if not. There is a weird one though a device with no hw allocation. ir_kbd_i2c

Now lcd......

Sent from my ELF-II using Tapatalk 2
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #53 ·

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #55 ·
OK i got it to compile, there is a uImage_recovery and uImage in the common folder.

in the install root dir i have /root/boot/mali.ko and ump.ko

What next? how to intergrate this with android source framework, etc. Any way we can get a config file from Aurora II or Elf II (both preferrably?) I could try if someone is willing to explain a bit.

Im guessing that diff conf is needed for different drivers on the devices, right?
I'm presuming (I haven't started looking at the uImage format yet)
that you'll need an initramfs somewhere along the way?

the easy way to get the initramfs is to extract it from one of Ainols boot.img and look at how they have the init set up..

I posted a script to extract it earlier in the thread.

are you using the kernel.mk ?
$ make -f kernel.mk INSTALL_ROOT=/PATH_TO_/initramfs/






http://openlinux.amlogic.com/index.php//3.Building_the_Code
for building a complete android system.
(you need a lot more than they say there as they expect you to have their build system from their ssh secured git server <<<< CRAP THATS NOT OPEN SOURCE)

for example we are likely to need proprietary files from our tablets, such as gralloc in a device tree.
 

·
Registered
Joined
·
1,014 Posts
Discussion Starter · #66 ·
Their entire wiki/dl server seems a bit messed up.
it currently appears to be time travelling.

Unless they are on the international date line somethings wrong there (its been like it for a few days)
 
1 - 20 of 25 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top