corrupted.
I tested it previously and it worked.
That was the only question I could find. If your other statements
intended to ask the question, please let me know.
BR,
Roman
нд, 14 лип. 2024 р. о 09:39 Heinrich Schuchardt пише:
>
> On 7/13/24 23:16, Roman Stratiienko wrote:
> > Hello
acing-primary-GPT-to-2MiB-offset-to.patch
пн, 10 черв. 2024 р. о 15:22 Heinrich Schuchardt пише:
>
> On 19.05.24 17:35, Roman Stratiienko wrote:
> > Use GPT_PRIMARY_PARTITION_TABLE_LBA as the only source for a primary GPT
> > location instead of hardcoding it every time.
> >
&g
be loaded.
[1]: https://source.android.com/docs/core/architecture/partitions/generic-boot
Signed-off-by: Roman Stratiienko
Reviewed-by: Mattijs Korpershoek
---
Changes in v2:
- Addressed review comments v1
Changes in v3:
- Rebased on top of latest u-boot/next
boot/image-board.c | 13
чт, 23 мая 2024 г. в 09:41, Mattijs Korpershoek :
>
> Hi Roman,
>
> Thank you for the patch.
>
> On mer., mai 22, 2024 at 21:26, Roman Stratiienko
> wrote:
>
> > Quote from [1]:
> >
> > "For devices launching with Android 13, the generic ramdisk is
Hi Mattijs,
Thank you for your review.
ср, 22 мая 2024 г. в 17:43, Mattijs Korpershoek :
>
> Hi Roman,
>
> Thank you for the patch.
>
> On dim., mai 19, 2024 at 12:53, Roman Stratiienko
> wrote:
>
> > Quote from [1]:
> >
> > "For devices la
be loaded.
[1]: https://source.android.com/docs/core/architecture/partitions/generic-boot
Signed-off-by: Roman Stratiienko
---
boot/image-board.c | 13 ++---
cmd/abootimg.c | 26 +-
include/image.h| 7 +++
3 files changed, 38 insertions(+), 8 deletion
Load only part of the boot partition that contains valuable
information, thus improving the boot time.
Signed-off-by: Roman Stratiienko
---
boot/image-android.c | 70
cmd/abootimg.c | 40 ++---
include/image.h | 12
AVB can reuse already loaded images instead of loading them
from the disk.
The get_preloaded_partition now looks for the env. variables
set by the 'abootimg load' to find the correct partition in RAM.
Signed-off-by: Roman Stratiienko
---
common/avb_ver
the start and the end,
which is far from good.
Usage example:
abootcmd load mmc 0 boot a
Signed-off-by: Roman Stratiienko
---
cmd/abootimg.c | 84 +-
1 file changed, 83 insertions(+), 1 deletion(-)
diff --git a/cmd/abootimg.c b/cmd/abootimg.c
x27; command by skipping zeros
loading at the partition's end.
Roman Stratiienko (3):
abootcmd: Add load subcommand
avb: Implement get_preloaded_partition callback
abootimg: Implement smart image load feature
boot/image-android.c | 70 +++
Use GPT_PRIMARY_PARTITION_TABLE_LBA as the only source for a primary GPT
location instead of hardcoding it every time.
Sometimes, we need to shift the primary GPT location.
Having the location in the single place simplifies such shifting.
Signed-off-by: Roman Stratiienko
---
disk/part_efi.c
The boot_ramdisk and vendor_ramdisk must be both concatenated together.
Without this change, Android root is missing some of the necessary tools
to complete virtual AB OTA.
Signed-off-by: Roman Stratiienko
---
boot/image-android.c | 17 -
1 file changed, 8 insertions(+), 9
oot
Signed-off-by: Roman Stratiienko
---
boot/image-board.c | 5 -
cmd/abootimg.c | 26 +-
include/image.h| 7 +++
3 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/boot/image-board.c b/boot/image-board.c
index 75f6906cd5..715654ff01 100644
Hi guys,
I rebased on uboot/master and all is working for me except for the
boot image ramdisk concatenation.
Current memcpy logic overwrites its context. Please find a fix that
works for me here:
https://github.com/GloDroidCommunity/raspberry-pi/blob/151fae1c7ddb7d347034dd135631f8f7075c7968/patch
чт, 26 янв. 2023 г. в 18:05, Safae Ouajih :
>
> Hello everyone,
>
> * This is based on Roman Stratiienko's work to support boot image header
> version 3 and 4.
>
> * This supports the new boot image headers v3, v4 and bootconfig feature.
> https://source.android.com/docs/core/architecture/bootload
>
> $ fastboot flash mmc0 /tmp/core-image-minimal.wic
> target reported max download size of 419430400 bytes
> Sending 'mmc0' (402048 KB)...
> OKAY [ 13.727s]
> Writing 'mmc0'...
> OKAY [ 0.024s]
> Finished. Total time: 13.834s
>
> > Starting download of 411697152 bytes
>
oman Stratiienko :
>
> Hi Oleh,
>
> Thank you for the fix.
>
> Reviewed-by: Roman Stratiienko
>
> чт, 13 мая 2021 г. в 01:44, Oleh Kravchenko :
> >
> > The current U-Boot version has the next matches for boot partitions:
> > > mmc0boot0 to EMMC_BOOT1
&g
Hi Oleh,
Thank you for the fix.
Reviewed-by: Roman Stratiienko
чт, 13 мая 2021 г. в 01:44, Oleh Kravchenko :
>
> The current U-Boot version has the next matches for boot partitions:
> > mmc0boot0 to EMMC_BOOT1
> > mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2)
> This patch
In case CONFIG_FASTBOOT_FLASH_MMC_DEV == 0, compile-time condition
is not met and fastboot_set_reboot_flag() fails.
Fixes: a362ce214f03 ("fastboot: Implement generic fastboot_set_reboot_flag")
Signed-off-by: Roman Stratiienko
---
drivers/fastboot/fb_common.c | 2 +-
1 file changed, 1
In case MMC has MBR system and fastboot writes GPT,
MMC is still recognized as MBR.
Invoke part_init() to purge cached data and update
information about partition table type.
Signed-off-by: Roman Stratiienko
---
CC: Lukasz Majewski ,
CC: Patrick Delaunay ,
CC: Fabien Parent ,
CC: Filip Brozovic
Hello Heiko,
Looks like these commands will provide full access to any u-boot
commands, including working with memory.
It can be used to read/set any registers/data which is not in the
trust zone, thus opening a huge backdoor.
This command could be useful for debug/CI purposes, but do you really
CC: linux-su...@googlegroups.com
сб, 13 июн. 2020 г. в 22:33, Roman Stratiienko :
>
> чт, 14 мая 2020 г. в 09:44, Roman Stratiienko :
> >
> > CC: ja...@amarulasolutions.com
> >
> > пт, 8 мая 2020 г. в 15:29, Roman Stratiienko :
> > >
> > > Same w
ndroid.com/devices/bootloader/fastbootd
> [2] -
> https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
> [3] -
> https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
>
> Signed-off-by: Roman Kovalivskyi
> Signed-
Reviewed-by: Roman Stratiienko
вт, 23 июн. 2020 г. в 03:28, Roman Kovalivskyi
:
>
> Default implementation of fastboot_set_reboot_flag function that depends
> on "bcb" commands could be used in general case if there are no need to
> make any platform-specific implementati
Reviewed-by: Roman Stratiienko
вт, 23 июн. 2020 г. в 03:28, Roman Kovalivskyi
:
>
> Extend fastboot_set_reboot_flag arguments with reboot reason so that
> it could handle different reboot cases in future.
>
> Signed-off-by: Roman Kovalivskyi
> ---
> arch/arm/mach-meso
T_KC1 &&
> \
> + !TARGET_SNIPER && !TARGET_AM57XX_EVM && !TARGET_DRA7XX_EVM
> + default 1
Should be 'y'
> + help
> + Add default implementation of fastboot_set_reboot_flag that
> uses
> + "
чт, 14 мая 2020 г. в 09:44, Roman Stratiienko :
>
> CC: ja...@amarulasolutions.com
>
> пт, 8 мая 2020 г. в 15:29, Roman Stratiienko :
> >
> > Same was done in the kernel for all devices compatible with
> > 'allwinner,sun8i-a33-musb' at [1] and [2].
>
Hi Roman,
чт, 4 июн. 2020 г. в 10:56, Roman Kovalivskyi
:
>
> From: Roman Stratiienko
>
> Android 10 adds support for dynamic partitions and in order to support
> this userspace fastboot must be used[1]. New tool fastbootd is
> included into recovery.
>
> Userspace fast
d, 0))
> + return -ENOEXEC;
> +
> + if (run_command("bcb store", 0))
> + return -EIO;
> +
> + return 0;
> +}
> +#else
> int __weak fastboot_set_reboot_flag(int reason)
> {
> if (reason != FASTBOOT_REBOOT_BOOTLOADER)
> @@ -95,6 +130,7 @@ int __weak fastboot_set_reboot_flag(int reason)
>
> return -ENOSYS;
> }
> +#endif
>
> /**
> * fastboot_get_progress_callback() - Return progress callback
> --
> 2.17.1
>
Why not move this logic into a separate file?
Regards,
Roman Stratiienko
CC: ja...@amarulasolutions.com
вт, 12 мая 2020 г. в 21:25, Roman Stratiienko :
>
> H6 SOC needs additional initialization of PHY registers. Corresponding
> changes can be found in the kernel patch [1].
>
> Without this changes there is no enumeration of 'musb' g
CC: ja...@amarulasolutions.com
пт, 8 мая 2020 г. в 15:29, Roman Stratiienko :
>
> Same was done in the kernel for all devices compatible with
> 'allwinner,sun8i-a33-musb' at [1] and [2].
>
> Fixes musb initialization on H6 SOC.
>
> [1] -
> https://git.kernel.o
commit/?id=ae409cc7c3cdb9ac4a1dba3eae70efec3d6b6c79
Fixes: 35fa673e0e5f ("sunxi: phy: Add USB PHY support for Allwinner H6")
Signed-off-by: Roman Stratiienko
---
CC: Ondrej Jirman
CC: Icenowy Zheng
CC: Marek Vasut
CC: linux-su...@googlegroups.com
---
drivers/phy/allwinner/phy-sun4i-usb.c | 6 --
1 file changed
rg/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/usb/musb/sunxi.c?h=v5.6.11#n440
Signed-off-by: Roman Stratiienko
---
CC: Ondrej Jirman
CC: Icenowy Zheng
CC: Marek Vasut
CC: linux-su...@googlegroups.com
Hello community,
'$ fastboot usb 0' command works, but host still doesn
rev:] [ []]
--> dtimg range index: [ []]
Benefits of such combining:
- Reduce chance of human mistake in between of this commands (for
example different values for start and size).
- Increase readability and slightly reduce parsing time.
Downsides:
This solution is a little revolutionary since i
art can be either partition number or partition name"
> + " part can be either partition number or partition name\n"
> + "part number\n"
> + "- set environment variable to the partition number usin
From: Roman Stratiienko
This allows to use any available compression format with Android boot image
Since not all available compression formats have a magic number we should
explicitly specify type of compression.
For this purpose using uImage format becomes very useful, as this format is
well
tchwork.ozlabs.org/patch/1044160/ ("[U-Boot,v3,7/7] env:
> > >am57xx: Implement A/B boot process")
> > >
> > > Best regards,
> > > Eugeniu.
> > > ___
> > > U-Boot mailing list
> > > U-Boot@lists.denx.de
> > > https://lists.denx.de/listinfo/u-boot
>
>
>
> --
> Best regards - Freundliche Grüsse - Meilleures salutations
>
> Igor Opaniuk
>
> mailto: igor.opan...@gmail.com
> skype: igor.opanyuk
> +380 (93) 836 40 67
> http://ua.linkedin.com/in/iopaniuk
--
Best regards,
Roman Stratiienko
Global Logic
ADIT Team
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
From: Roman Stratiienko
This allows retrieving uuid of the partition using it's name.
Signed-off-by: Roman Stratiienko
---
cmd/part.c | 40 ++--
1 file changed, 10 insertions(+), 30 deletions(-)
diff --git a/cmd/part.c b/cmd/part.c
index bee204f..57
38 matches
Mail list logo