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
++ to 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
removed.
Signed-off-by: Alex Deymo <de...@google.com>
---
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 0
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
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,
+ u32 page_size; /* flash page size we assume */
> + u32 reserved[1];/* must be zero */
> +};
> +
> +struct dt_table_entry {
> + u32 dt_size;
> + u32 dt_offset; /* offset from head of dt_table_header */
> +
> + u32 id; /* optional, must be
" : name of variable where to store address of FDT\n"
> + "dtimg size \n"
> + "- get size (hex, bytes) of FDT in the image, by index\n"
> + " : image address in RAM, in hex\n"
> + " : index of desired FDT in the image\n"
> + " : name of variable where to store size of FDT"
> +);
> diff --git a/common/Makefile b/common/Makefile
> index 7011dada99..6ef55d0d7a 100644
> --- a/common/Makefile
> +++ b/common/Makefile
> @@ -111,6 +111,10 @@ obj-$(CONFIG_IO_TRACE) += iotrace.o
> obj-y += memsize.o
> obj-y += stdio.o
>
> +ifdef CONFIG_CMD_DTIMG
> +obj-y += image-android-dt.o
> +endif
> +
> ifndef CONFIG_SPL_BUILD
> # This option is not just y/n - it can have a numeric value
> ifdef CONFIG_FASTBOOT_FLASH
> --
> 2.17.0
>
You would likely need review from a maintainer, but otherwise this looks
fine (just one nit)
Reviewed-by: Alex Deymo <de...@google.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
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*
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
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
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
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
+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
com>:
> Hi Alex,
>
> 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 abo
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:
2017-04-06 21:53 GMT-07:00 Jaehoon Chung <jh80.ch...@samsung.com>:
> 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
> > acce
: Booted a rpi3 with this flow.
Signed-off-by: Alex Deymo <de...@google.com>
---
README | 19 +-
common/Kconfig | 19 ++
common/Makefile | 1 +
common/android_bootloader.c | 350 +
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 +
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 <de...@google.com>
---
common/image-android.c | 9 +
include/android_i
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 <de...@google.com>
---
common/image-android.
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 <de...@google.com>
---
common/fb_mmc
the run-time selected device tree overlays.
Signed-off-by: Alex Deymo <de...@google.com>
---
README | 8 +++-
board/raspberrypi/rpi/rpi.c | 10 ++
doc/README.fdt-control | 4
dts/Kconfig | 8
include/fdtdec.h
ot;skip-init" in the uart0
block, for example this device tree fragment would do it:
fragment@0 {
target = <>;
__overlay__ {
skip-init;
};
};
Test: Booted a rpi3 with either UART output.
Signed-off-by: Alex D
Test: Booted a rpi3 build with Android Things.
Signed-off-by: Alex Deymo <de...@google.com>
---
README | 6 +++
cmd/Kconfig| 10 +
cmd/Makefile | 1 +
cmd/boot_android.c | 126 +
4 files changed, 143 inserti
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 <de...@google.com>
---
drivers/mmc/sdhci.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/d
From: Jocelyn Bohr <b...@google.com>
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 <de...@google.com>
---
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