commit c9a0c75ca40e63194ffad3bcba6283407a8926dc (HEAD)
Author: Yuntian Zhang <yt@radxa.com>
Date: Mon May 30 15:09:48 2022 +0800
Fix -Werror=address
Signed-off-by: Yuntian Zhang <yt@radxa.com>
commit 2fcc3dcddcf209a96bcbfd02884a0005a5d89d58
Author: Yuntian Zhang <yt@radxa.com>
Date: Tue Apr 26 14:24:30 2022 +0800
rockchip: add ROCK 5A support
Signed-off-by: Yuntian Zhang <yt@radxa.com>
commit f61b83b11a8a855b0faa49036bb0e7d05abf9d43
Author: Yuntian Zhang <yt@radxa.com>
Date: Tue Apr 26 14:23:52 2022 +0800
rockchip: create rk3588s-u-boot-dtsi
This file will contain common features between rk3588 & rk3588s.
rk3588 specific features are kept in rk3588-u-boot-dtsi.
Signed-off-by: Yuntian Zhang <yt@radxa.com>
commit 6903e6c08c81e887fb2076e321ba7577a563a6c3
Author: Yuntian Zhang <yt@radxa.com>
Date: Tue Apr 26 14:16:32 2022 +0800
rockchip: move crypto functions to rk3588s
rkbin uses crypto device to verify hash before passing control to bootloader. If this device is missing boot will fail.
Signed-off-by: Yuntian Zhang <yt@radxa.com>
commit f96c217395f7b2cb2d8a7b0c0cfb176bd01ad4d1
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Thu May 24 17:04:57 2018 +0900
menu: fix timeout duration
For distro-boot, the TIMEOUT directive in the boot script specifies
how long to pause in units of 1/10 sec. [1]
Commit 8594753ba0a7 ("menu: only timeout when menu is displayed")
corrected this by simply dividing the timeout value by 10 in
menu_interactive_choice().
I see two problems:
- For example, "TIMEOUT 5" should wait for 0.5 sec, but the current
implementation cannot handle the granularity of 1/10 sec.
In fact, it never breaks because "m->timeout / 10" is zero,
which means no timeout.
- The menu API is used not only by cmd/pxe.c but also by
common/autoboot.c . For the latter case, the unit of the
timeout value is _second_ because its default is associated
with CONFIG_BOOTDELAY.
To fix the first issue, use DIV_ROUND_UP() so that the timeout value
is rounded up to the closest integer.
For the second issue, move the division to the boundary between
cmd/pxe.c and common/menu.c . This is a more desirable place because
the comment of struct pxe_menu says:
* timeout - time in tenths of a second to wait for a user key-press before
* booting the default label.
Then, the comment of menu_create() says:
* timeout - A delay in seconds to wait for user input. If 0, timeout is
* disabled, and the default choice will be returned unless prompt is 1.
[1] https://www.syslinux.org/wiki/index.php?title=SYSLINUX#TIMEOUT_timeout
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
commit 75b12f8295f1216d8f871a23fca37d4c990d508d (grafted, d080eee3656e6eb9e6f206e91e552f3636d67c20/stable-5.10-rock5, master)
Author: Stephen Chen <stephen@radxa.com>
Date: Mon Oct 31 16:08:15 2022 +0800
rockchip: rename Radxa NX5 to Radxa NX5 IO
Signed-off-by: Stephen Chen <stephen@radxa.com>