View: 10595|Reply: 9

kernel and boot generation on OPI2

[Copy link]

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
Published in 2015-7-29 01:03:49 | Show all floors |Read mode
I succeded to generate a 3.4 kernel on my OPI2 with gcc 4.9.2.
The generation takes about 1/2h with a USB HD.
I put the kernel patches and my .config in http://moinejf.free.fr/opi2/.
Audio does not work (kernel oops), but it is a first step for people who have no IA64...


5

threads

354

posts

2626

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2626
Published in 2015-8-3 00:50:29 | Show all floors
The patch does not apply.
checking file Makefile
checking file drivers/video_sunxi/sunxi_v3/de/lowlevel_sun8iw7/de_wb.c
checking file include/configs/sun8iw7p1.h
checking file usb_sunxi/usb_burn.c
Hunk #1 FAILED at 1076 (different line endings).
Hunk #2 FAILED at 1093 (different line endings).
2 out of 2 hunks FAILED


dos2unix usb_sunxi/usb_burn.c                                                                                                      
dos2unix: converting file usb_sunxi/usb_burn.c to Unix format...

checking file Makefile
checking file drivers/video_sunxi/sunxi_v3/de/lowlevel_sun8iw7/de_wb.c
checking file include/configs/sun8iw7p1.h
checking file usb_sunxi/usb_burn.c
Hunk #1 succeeded at 1076 with fuzz 1.
Hunk #2 FAILED at 1097.
1 out of 2 hunks FAILED


Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
 Author| Published in 2015-8-2 18:24:44 | Show all floors
The U-boot compiled on OPI2 runs OK. I added uEnv.txt handling.
The instructions for generation/install are in my page http://moinejf.free.fr/opi2/.

18

threads

200

posts

879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
879
Published in 2015-7-29 01:36:49 | Show all floors
http://moinejf.free.fr/opi2/  -> SERVER NOT FOUND
Orange PI 2
www.orangepi.pp.ua

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
 Author| Published in 2015-7-29 13:34:04 | Show all floors
magicse replied at 2015-7-29 01:36
http://moinejf.free.fr/opi2/  -> SERVER NOT FOUND

ISP problem. Should be back to normal now.

18

threads

200

posts

879

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
879
Published in 2015-7-29 20:49:36 | Show all floors
moinejf replied at 2015-7-29 07:34
ISP problem. Should be back to normal now.

Ok Thank you
Orange PI 2
www.orangepi.pp.ua

1

threads

47

posts

189

credits

Registered member

Rank: 2

credits
189
 Author| Published in 2015-8-4 00:15:13 | Show all floors
fritz replied at 2015-8-3 00:50
The patch does not apply.

@fritz Sorry. I uploaded a new u-boot.patch (to apply to the original files).
BTW, I advanced a bit:
- as the script.bin is included in the u-boot, I wonder what are the effects of reading an other script.bin in /dev/mmcblkp1.
- I compiled a kernel with CONFIG_CMDLINE_FROM_BOOTLOADER=y and the bootargs are defined in uEnv.txt.
  - when no disp.screen0.output_mode, the display is 1920x1080p-0 (no image)
  - when disp.screen0.output_mode=1920x1080p60, the Hdmi_init crashes...

0

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-12-4 19:27:23 | Show all floors
hey where is the source for lichee u-boot?

1

threads

23

posts

103

credits

Registered member

Rank: 2

credits
103
Published in 2016-5-28 22:59:57 | Show all floors
is in-system-compiling working reliable now?
i need to compile a driver for orange pi one

9

threads

634

posts

4400

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4400
Published in 2016-5-29 01:51:17 | Show all floors
Xer0 replied at 2016-5-28 15:59
is in-system-compiling working reliable now?
i need to compile a driver for orange pi one

In latest Armbian it is.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list