Skip to content

sunxi: Fix boot of Cubietruk and al.

Dennis Gilmore u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] sunxi: Fix boot of Cubietruk and al.
Quoted 65 lines · Maxime Ripard
Quoted 64 lines · Dennis Gilmore
Quoted 62 lines · Maxime Ripard
Quoted 47 lines · Andre Przywara

Hi,

Quoted 37 lines · Maxime Ripard
Quoted 28 lines · Andre Przywara

Hi,

Quoted 13 lines · Maxime Ripard

Hi,

Most featureful boards, such as the Cubietruck, have been broken since
the release 2017.09.

This is due to a size increase of the binary that will trip
us across
the size we've been using in the u-boot-sunxi-with- spl.bin
file.

Quoted 11 lines

We would have two ways to work around it. The first one would
be to
just increase the offset of the environment. However, since
it would
break all the environments of our users and possibly the custom
partition scheme that they would have created, it doesn't really seem
like a smart move.

Quoted 6 lines

Is that really such a problem? How many people rely on having
their
custom environment preserved over an update? (That's an honest
question)

Quoted 6 lines

All of them, I guess. In your U-boot upgrade script, do you do a
'env
default -a; saveenv' all the time ?

I know I don't.

Quoted 7 lines

Well, I never use the saved environment and always expected some
user or
board specific environment to come from some file (boot.scr or something
loaded via TFTP). But that's just my personal use, hence I was asking.

Well, even if you want to boot to tftp, you'll need to have some setup
to do, even just to use a different server IP, and that will be in
the
environment.

Quoted 4 lines
Quoted 1 line

I personally just use pxe boot

It's not really about what personally you use, but what any user can use.

Not saying that it is. but how I use it is really simple for the user to use without needing to have a ton of specific knowledge about how u- boot works

Quoted 11 lines
Quoted 4 lines

dhcp
pxe get
pxe boot
and pick the right option. nothing needed on the client side.

It has the assumption that the DHCP server is setup properly, which might or might not be the case, especially when it comes to the server
option being there and valid.

Maxime

Anyone doing something like this on X86 has to have the same setup. its not that hard of a ask to assume that a pxe environment is available. you can skip the dhcp part and set the serrver ip and system ip manually, its just simpler to use dhcp

Dennis