Le lun. 25 nov. 2019 à 17:20, Igor Opaniuk a
écrit :
> + Alex Deymo
>
> Hi Zdenek
>
> On Mon, Nov 25, 2019 at 6:05 PM zdenek.bou...@siemens.com
> wrote:
> >
> > Hello,
> >
> > SPDX-License-Identifier: BSD-3-Clause might be wrong in the following 4
>
converted from C++ to C style.
* Code inside __cplusplus #ifdef blocks were removed.
* C++11 struct extensions replaced with a single struct.
Signed-off-by: Alex Deymo
---
include/android_image.h | 120 ++--
1 file changed, 90 insertions(+), 30 deletions(-)
diff
C comments and
adding #ifndef __UBOOT__ block to skip all the function declarations).
Signed-off-by: Alex Deymo
---
include/android_bootloader_message.h | 246 +++
1 file changed, 246 insertions(+)
create mode 100644 include/android_bootloader_message.h
diff --git a
were removed.
Signed-off-by: Alex Deymo
---
include/dt_table.h | 50 ++
1 file changed, 50 insertions(+)
create mode 100644 include/dt_table.h
diff --git a/include/dt_table.h b/include/dt_table.h
new file mode 100644
index 000..f91657c0c76
---
Just an FYI, earlier this month the team spent some time polishing and
publishing in source.android.com documentation about the flows the
bootloader goes through in Android, specially true for stock Android like
in Pixels phones or other devices based of recent AOSP versions.
Take a look at https:
Hi,
I checked with our team and the include/dt_table.h import as BSD-3 here is
fine with us. Would you like me to send a patch with just this header file
or just Signed-off-by this whole patch?
Thanks,
deymo@
Le ven. 25 mai 2018 à 03:54, Tom Rini a écrit :
> On Fri, May 18, 2018 at 09:47:55PM +0
};
> +
> +struct dt_table_entry {
> + u32 dt_size;
> + u32 dt_offset; /* offset from head of dt_table_header */
> +
> + u32 id; /* optional, must be zero if unused */
> + u32 rev;/* optional, must be zero if unused
hex\n"
> + "dtimg start \n"
> + "- get address (hex) of FDT in the image, by index\n"
> + " : image address in RAM, in hex\n"
> + " : index of desired FDT in the imag
Hi Ramon,
What "header_version" is the boot image you have? The
include/android_image.h in U-Boot is a little bit old so it only defines
the v0 format. The "unused" field in v0 was renamed to "header_version"
where 0 means v0. The v1 adds a few more fields, including a DTB/DTBO for
*recovery* mode
Regarding the boot_android command, U-Boot supports loading Android-format
kernel images to memory and booting them. That's not the main purpose of
boot_android, it actually does that by just calling bootm.
The part that U-Boot doesn't support is all the flows around booting an
Android device that
Hi Kever,
libavb and libavb_ab are different things, and we split them for a
reason. Adding libavb is great, but you don't need to add libavb_ab as an
A/B implementation. The boot_android command referenced by Igor doesn't use
that as an A/B implementation, but uses the structs already defined in
2018-04-25 9:53 GMT+02:00 Lukasz Majewski :
> Hi Alex,
>
> > Fix recursive dependencies in Kconfig introduced by fastboot UDP
> >
> > Signed-off-by: Alex Kiernan
> > ---
> >
> > cmd/fastboot/Kconfig | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/cmd/fastboot/
2018-04-25 10:43 GMT+02:00 Alex Kiernan :
> >> - what's the correct way of attributing the original authors? I've
> >> added Co-authored-by, is that right? checkpatch doesn't seem to know
> >> any of the co- tags
> >
> > I think that two authors (Alex and Jocelyn) have replied to your e-mail.
> >
+Jocelyn.
Thanks Alex for taking the time to port this!! Some comments inline here
about your questions.
2018-04-24 11:37 GMT+02:00 Alex Kiernan :
>
> This series merges the fastboot UDP support from AOSP into mainline
> U-Boot.
>
> Open questions:
>
> - what's the correct way of attributing the
t; The Android A/B bootloader patch series looks good.
>
> How far along are you to have this work integrated ?
>
> Regards,
> Stan
>
> On 04/02/2017 04:49 PM, Alex Deymo wrote:
> >* An "Android Bootloader" has a lot of requirements about how it should
>
Hi all,
Android Things on rpi supports fastboot over udp since most rpis don't
expose a suitable USB port for fastboor over USB. It also uses the A/B
booting mechanism similar to Pixel phones.
The U-Boot code for the latest Android Things preview is in AOSP:
https://android.googlesource.com/platf
2017-04-06 21:53 GMT-07:00 Jaehoon Chung :
> On 04/02/2017 03:58 PM, Alex Deymo wrote:
> > When experimenting with fastboot from U-Boot on the Raspberry Pi 3 we
> > found that the writes to the sdcard are much more slow than when
> > accessing it from the userspace. These two
Test: Booted a rpi3 with this flow.
Signed-off-by: Alex Deymo
---
README | 19 +-
common/Kconfig | 19 ++
common/Makefile | 1 +
common/android_bootloader.c | 350 +++
include
Android kernel images include a header that specifies addresses and
kernel size. This patch adds a command to load these images from
storage without specifying the size or address of them, and parsing
them from the header instead.
---
cmd/Kconfig| 9 +
cmd/Makefile | 1 +
c
Update the Android image header format to the latest version published
in AOSP. The original code moved to a new repository, so this patch also
updates the reference to that path.
Signed-off-by: Alex Deymo
---
common/image-android.c | 9 +
include/android_image.h | 24
patchset updates the Android-related headers and introduces new
commands to boot a recent Android build. This work is based on the
bootloader used in the Raspberry Pi in Android Things and extensively
tested there.
[1] https://source.android.com/devices/tech/ota/ab_updates.html
Alex Deymo (6):
This patch implements the logic needed to load an Android boot image
from storage, since the size and kernel address in Android images is
defined in its header.
Signed-off-by: Alex Deymo
---
common/image-android.c | 51 ++
include/image.h
Similar to what blk_get_device_part_str() does, this patch makes
part_get_info_by_name() return the partition number in case of a match.
This is useful when the partition number is needed and not just the
descriptor.
Signed-off-by: Alex Deymo
---
common/fb_mmc.c | 6 +++---
disk/part.c | 2
the run-time selected device tree overlays.
Signed-off-by: Alex Deymo
---
README | 8 +++-
board/raspberrypi/rpi/rpi.c | 10 ++
doc/README.fdt-control | 4
dts/Kconfig | 8
include/fdtdec.h| 6 ++
lib/fdtdec.c
ip-init" in the uart0
block, for example this device tree fragment would do it:
fragment@0 {
target = <&uart0>;
__overlay__ {
skip-init;
};
};
Test: Booted a rpi3 with either UART output.
Test: Booted a rpi3 build with Android Things.
Signed-off-by: Alex Deymo
---
README | 6 +++
cmd/Kconfig| 10 +
cmd/Makefile | 1 +
cmd/boot_android.c | 126 +
4 files changed, 143 insertions(+)
create mode 10064
waits for the SDHCI_INT_DATA_END bit to be set even after
sending all the blocks.
Test: Reliably wrote 2GiB of data to mmc in a rpi3.
Signed-off-by: Alex Deymo
---
drivers/mmc/sdhci.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/sdhci.c b
From: Jocelyn Bohr
The linux kernel driver for this module does not use a delay when
writing to the SDHCI_BUFFER register. This patch mimics that behavior
in order to speed up the mmc writes on the Raspberry Pi.
Signed-off-by: Alex Deymo
---
drivers/mmc/bcm2835_sdhci.c | 8 ++--
1 file
When experimenting with fastboot from U-Boot on the Raspberry Pi 3 we
found that the writes to the sdcard are much more slow than when
accessing it from the userspace. These two patches speed up the write
and allow us to reliably write the sdcard from U-Boot.
Alex Deymo (1):
mmc: sdhci: Wait
29 matches
Mail list logo