please choosego to mobile | Continue to access the PC version
123
Return to list Post new posts
Author: pgauret

H3 boards with Allwiner source code

[Copy link]

18

threads

200

posts

866

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
866
Published in 2015-8-2 18:23:26 | Show all floors
phelum replied at 2015-8-2 08:05
Hi,

I assume you're trying to compile u-boot.  I hit the same problem with the missing directorie ...

Yes you are right.. The error due to missed directories. Thank you for helping.
Orange PI 2
www.orangepi.pp.ua

18

threads

200

posts

866

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
866
Published in 2015-8-3 14:56:05 | Show all floors
Edited by magicse at 2015-8-3 08:58

Some question
In docs of Orange Pi say next ->
SD Card Layout
SD Card Layout
start         size         usage
0         8KB         Unused, available for partition table etc.
8         24KB         Initial SPL loader
32         512KB         u-boot
544         128KB         environment
672         352KB         reserved
1024         -         Free for partitions
Why Steven  use command:
  sudo dd if=u-boot-sun8iw7p1.bin of=/dev/sdb bs=1024 seek=16400 (http://www.orangepi.org/orangepi ... ra=&ordertype=1)
and not

  sudo dd if=u-boot-sun8iw7p1.bin of=/dev/sdb bs=1024 seek=8
or
  sudo dd if=u-boot-sun8iw7p1.bin of=/dev/sdb bs=1024 seek=32
Orange PI 2
www.orangepi.pp.ua

10

threads

448

posts

4465

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4465
Published in 2015-8-3 15:58:04 | Show all floors
magicse replied at 2015-8-3 07:56
Some question
In docs of Orange Pi say next ->
SD Card Layout

Because that sd card layout is wrong.
bootloader is at 8x1024
u-boot is at 16400*1024
first partition starts at 20480x1024

2

threads

7

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2015-8-3 19:54:01 | Show all floors
zhao_steven replied at 2015-5-3 09:20
I will upload u-boot and kernel source to github orangepi-xunlong in a week. I am testing lubuntu an ...

Can you share github path for u-boot bootloader.

If possible, Can you share boot0 code. similar to this-https://github.com/allwinner-zh/ ... master/basic_loader
I am working on my custom hypervisor(Type1) so all low level detail require for same.

Thanks for co-operations.

Regards,
Bharat Gohil


5

threads

355

posts

2430

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2430
Published in 2015-8-3 20:27:13 | Show all floors
@ghl.bhrt
zhao_steven replied at 2015-5-3 09:20
I will upload u-boot and kernel source to github orangepi-xunlong in a week. I am testing lubuntu an

Steven forgot to say in a week next year!

don't believe it!

This is the official link:  https://github.com/allwinner-zh/ ... master/basic_loader
There are no others!
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

18

threads

200

posts

866

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
866
Published in 2015-8-3 21:08:20 | Show all floors
Edited by magicse at 2015-8-3 15:09
loboris replied at 2015-8-3 09:58
Because that sd card layout is wrong.
bootloader is at 8x1024
u-boot is at 16400*1024

Thanks for reply
I thought so, but I doubted.
Orange PI 2
www.orangepi.pp.ua

0

threads

3

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-9-1 01:46:24 | Show all floors


Hi.

Device: http://www.cnx-software.com/2015 ... e-and-sdk-released/
Im using SDK :http://www.orangepi.org/plusdown ... urce_code_plus.html
Patch: http://linux-sunxi.org/Cubietruck/AP6210

The path is because the wirelees is a broadcom, not realteck

I get this error for modules, Can you help me? Or There is a kernel with the driver AP62xx ready ?

  Kernel: arch/arm/boot/Image is ready
  GZIP    arch/arm/boot/compressed/piggy.gzip
  CC      arch/arm/boot/compressed/misc.o
  AS      arch/arm/boot/compressed/head.o
WARNING: could not find drivers/media/video/sunxi-vfe/lib/.libisp.cmd for drivers/media/video/sunxi-vfe/lib/libisp
  CC      arch/arm/boot/compressed/decompress.o
ERROR: "gpio_write_one_pin_value" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
ERROR: "gpio_request_ex" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
ERROR: "gpio_read_one_pin_value" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
ERROR: "sunximmc_rescan_card" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
ERROR: "sw_mci_check_r1_ready" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
ERROR: "script_parser_fetch" [drivers/net/wireless/ap6210/ap6210.ko] undefined!
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
/home/usuario/Descargas/arm/Draco_H3_SDK_20150601_lichee/linux-3.4/scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:1096: recipe for target 'modules' failed
make: *** [modules] Error 2
make: *** Se espera a que terminen otras tareas....
  CC      arch/arm/boot/compressed/string.o
  AS      arch/arm/boot/compressed/lib1funcs.o
  AS      arch/arm/boot/compressed/ashldi3.o
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-3.4.39
Created:      Fri Aug 28 19:26:26 2015
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    7330352 Bytes = 7158.55 kB = 6.99 MB
Load Address: 40008000
Entry Point:  40008000
  Image arch/arm/boot/uImage is ready


regards and thanks
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list