please choosego to mobile | Continue to access the PC version
View: 5646|Reply: 5

U-Boot development news!

[Copy link]

4

threads

52

posts

284

credits

Intermediate member

Rank: 3Rank: 3

credits
284
Published in 2015-11-24 02:47:25 | Show all floors |Read mode
Accidentally I came across this: git.denx.de. A subpage (click here) indicates that 2 orange pi H3 boards are added now officially for inclusion in the U-boot bootloader.
Great news towards a 4.x mainline kernel I suppose?
Published in 2015-11-24 04:44:43 | Show all floors
Progress will obviously be faster than with eg. the A20. For the latter things started in Q1/14 around mainline u-boot, then a few months (9, 10 or 11?) later the support in kernel 3.19 provided a simple framebuffer (relying on u-boot) so that you could've used A20 devices with a connected display and not just as headless machines. And still things are evolving around A20 with every new kernel version that works flawlessly with the aging sunxi 3.4 kernel since years (since code is fortunately written from scratch): http://linux-sunxi.org/Mainlining_Effort#Merged_into_4.4

Same will happen with H3 so be prepared to use your H3 devices sometimes in early 2016 as headless servers with mainline kernel (the things most users here seem to be after -- HW accelerated video -- will of course never work with mainline kernel )

5

threads

354

posts

2614

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2614
Published in 2015-11-24 04:59:48 | Show all floors
Yep, can confirm latest U-boot buildet from git works now. patches are merged.

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

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2015-11-30 00:47:00 | Show all floors
Could you please post how you build and install this latest U-boot? Any restrictions?

5

threads

354

posts

2614

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2614
Published in 2015-11-30 08:06:48 | Show all floors
Well, maybe first read at https://linux-sunxi.org/Mainline_U-boot

For compiling it for the OrangePI plus use:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_plus_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
For compiling it for the OrangePI PC use:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- orangepi_pc_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

If you compile it on the device itself you don't need to define ARCH and CROSS_COMPILE use only make orangepi_plus_defconfig or make orangepi_pc_defconfig
restrictions?
well, if you want to boot an "old" 3.4 kernel then it works not out of the box. You need to make some "adjustment".
I have not tried yet to boot a legacy 3.4 kernel for the H3 with the mainline u-boot.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

8

threads

55

posts

252

credits

Intermediate member

Rank: 3Rank: 3

credits
252
Published in 2015-11-30 08:57:35 | Show all floors
Yeah, i have this printed in my mind long ago, thanks anyway.

I will use legacy kernel with new u-boot if that is possible, i just need to find the right environment variables.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list