Building LeMaker Android 4.2 from Source
129
54368
|
I have pushed a bananapro branch to the github repo. |
|
|
|
|
|
|
|
tony_zhang replied at Fri Dec 19, 2014 22:08 
I have pushed a bananapro branch to the github repo.
Does that 'bananapro' branch contain anything incompatible to 'bananapi' ?
(In the long term that would imply that 'bananapi' users will be abandoned by future developments... !!!)
I would much prefer it if 'bananapro' and 'bananapi' could use the same releases based on identical sources.
The differencies should best be handled in other ways than splitting the distros. (runtime branching)
Best regards: dlanor
|
|
|
|
|
|
|
|
I think that seing where the modification are done, it should be pretty easy to just add another target for kernel/android , like sugar-bananapi and sugar-bananapro.
For now I'm still figthing with lemaker kernel integration, and to be more precise with u-boot and android filestructure integration. Apparently using lemaker u-boot is a dead end since he's not able to load some of the partition packed by lichee, and using sunxi u-boot is stuck during boot due to a machid mismatch ...
But I think I found a way for the last scenario.
And I even not fine tuned yet the kernel settings ... The road is longer that I though. |
|
|
|
|
|
|
|
Well, the kernel is just starting, and that's all, nothing more ... |
|
|
|
|
|
|
|
Mmmmh, whatever I try, it allways end with kernel stuck at initial start, with the following trace during boot:
I think now the various kernel, u-boot and modules are properlly inserted in the image. I have no idea what is needed to fix the kernel not starting.
Help !!!!!!- HELLO! BOOT0 is starting!
- boot0 version : 3.0.0
- dram size =1024
- card boot number = 0
- card no is 0
- sdcard 0 line count 0
- [mmc]: SD/MMC Card: 4bit, capacity: 7639MB
- [mmc]: vendor: Man 0x00284245 Snr 0x92282398
- [mmc]: product:
- [mmc]: revision: 1.0
- sdcard 0 init ok
- The size of uboot is 0x000a0000.
- sum=0xc6f18907
- src_sum=0xc6f18907
- Succeed in loading uboot from sdmmc flash.
- Ready to disable icache.
- Jump to secend Boot.
- [ 0.169]
- U-Boot 2011.09-rc1-dirty (Nov 08 2013 - 11:06:32) Allwinner Technology
- [ 0.177]version: 1.1.0
- [ 0.180]pmbus: ready
- [ 0.284]PMU: AXP209
- [ 0.288]PMU: AXP20x found
- [ 0.290]PMU: bat ratio = 100
- [ 0.294]after set, dcdc2 =1400mv
- [ 0.297]PMU: dcdc2 1400
- [ 0.300]PMU: pll1 912 Mhz
- boot_clock = 912
- dcdc2_vol = 1400
- [ 0.308]after set, dcdc2 =1400mv
- dcdc3_vol = 1250
- ldo2_vol = 3000
- ldo3_vol = 2800
- ldo4_vol = 2800
- power_start = 0
- storage_type = -1
- usb_recovery = 1
- find power_sply to end
- fel key old mode
- run key detect
- no key found
- no key input
- dram_para_set start
- dram_para_set end
- [ 0.344]DRAM: 1 GiB
- relocation Offset is: 35b27000
- donn't initialize ther user_gpio (main_key:boot_init_gpio)
- DRV_DISP_Init: opened
- [ 0.558]boot_disp.output_type=2
- [ 0.561]boot_disp.output_mode=5
- [ 0.564]boot_disp.auto_hpd=1
- Hdmi_dvi_enable is NULL
- Hdmi_get_input_csc is NULL
- workmode = 0
- MMC: 0
- SUNXI SD/MMC: 0
- Man 284245 Snr 92282398
- 1.0
- [ 0.626]sunxi flash init ok
- In: serial
- Out: serial
- Err: serial
- --------fastboot partitions--------
- -total partitions:11-
- -name- -start- -size-
- bootloader : 1000000 1000000
- env : 2000000 1000000
- boot : 3000000 1000000
- system : 4000000 20000000
- data : 24000000 40000000
- misc : 64000000 1000000
- recovery : 65000000 2000000
- cache : 67000000 14000000
- private : 7b000000 1000000
- databk : 7c000000 10000000
- UDISK : 8c000000 0
- -----------------------------------
- base bootcmd=run setargs_mmc boot_normal
- bootcmd set setargs_mmc
- key 0
- recovery key high 6, low 4
- cant find fstbt value
- to be run cmd=run setargs_mmc boot_normal
- the user data'magic is bad
- WORK_MODE_BOOT
- board_status_probe
- sunxi_bmp_display
- WORK_MODE_BOOT
- [ 0.729]Hit any key to stop autoboot: 0
- read boot or recovery all
- [ 1.213]sunxi flash read :offset 3000000, 11476806 bytes OK
- [ 1.223]ready to boot
- [ 1.226]
- Starting kernel ...
Copy the Code (then nothing more, but the A20 logo is visible on my HDMI screen. |
|
|
|
|
|
|
|
and more usb wi-fi support can be added? |
|
|
|
|
|
|
|
Roystrang86 replied at Tue Dec 23, 2014 14:34 
and more usb wi-fi support can be added?
Well, I am not sure that going to 3.4.103 kernel will add lots of additionnal wifi drivers.
By modifiying the kernel config, you should be able to add them for your specific wifi device. But having no wifi dongle, even in the standard version, I cannot test it then cannot really add it. |
|
|
|
|
|
|
|
Today I made a git clone. It stops with
make: *** Keine Regel vorhanden, um das Target »dalvik/vm/mterp/out/InterpAsm-x86.S«,
benötigt von »out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/mterp/out/InterpAsm-x86.o«, zu erstellen. Schluss.
|
|
|
|
|
|
|
|
liab replied at Mon Dec 29, 2014 22:36 
Today I made a git clone. It stops with
make: *** Keine Regel vorhanden, um das Target »dalvik/vm/ ...
Hi liab,
did you run the install.sh script to be sure to have every prerequisite packages ? |
|
|
|
|
|
|