Hi all,
I'd like to have some ideas for debugging this conditions.
When compiling with default gnu toolchain. It works great.
When compiling with clang (clang-14 or clang-15),
I'll get hang sometimes.
The following are two boot logs:
1.
U-Boot SPL 2023.10-rc1-00207-g38dedebc54-dirty (Aug 03
Reviewed-by: Ying-Chun Liu (PaulLiu)
On 2023/5/11 00:59, Dmitrii Merkurev wrote:
Command to start IP6 only TCP fastboot:
fastboot tcp -ipv6
Signed-off-by: Dmitrii Merkurev
Cc: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
Сс: Joe Hershberger
Сс: Ramon Fried
---
cmd/fastboot.c | 29
On 2023/6/9 17:27, Bin Meng wrote:
Hi,
On Tue, Jun 6, 2023 at 9:26 PM Ying-Chun Liu (PaulLiu)
wrote:
This is an implementation of single-character virtio-console. Part of the
patch is based on barebox implementations.
To test the patch, we can build qemu_arm64_defconfig target. Enable
From: "A. Cody Schuffelen"
This is an implementation of single-character virtio-console. Part of the
patch is based on barebox implementations.
Signed-off-by: A. Cody Schuffelen
[ Paul: pick from the Android tree. Rebase to the upstream. Small fixes. ]
Signed-off-by: Ying-Chun Li
This is an implementation of single-character virtio-console. Part of the
patch is based on barebox implementations.
To test the patch, we can build qemu_arm64_defconfig target. Enable
CONFIG_VIRTIO_CONSOLE. And run qemu-system-aarch64 with
-device virtio-serial-pci,id=virtio-serial0 \
-chardev
On 2023/5/11 00:59, Dmitrii Merkurev wrote:
Add TCP/IP6 related headers and reuse refactored TCP/IP
implementation
Signed-off-by: Dmitrii Merkurev
Cc: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
Сс: Joe Hershberger
Сс: Ramon Fried
---
include/net/tcp6.h | 106
. Expose TCP state machine related functions
This allows us to reuse TCP logic between IP and IP6 stack.
Signed-off-by: Dmitrii Merkurev
Cc: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
Сс: Joe Hershberger
Сс: Ramon Fried
---
include/net/tcp.h | 109 +--
net/net.c | 18 ++-
net
Reviewed-by: Ying-Chun Liu (PaulLiu)
On 2023/5/11 00:59, Dmitrii Merkurev wrote:
This allows us to reuse TCP logic between IP and IP6 stack.
Signed-off-by: Dmitrii Merkurev
Cc: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
Сс: Joe Hershberger
Сс: Ramon Fried
---
include/net/tcp.h | 54
-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https://android.googlesource.com/platform/external/u-boot/+/3e052749e7c50c4c1a6014e645ae3b9be3710c07
---
drivers/virtio/virtio_ring.c | 25 -
include/virtio_ring.h| 5 -
2 files changed, 24 insertions(+), 6
to PAGE_SIZE in preparation for platform specific
handling at page granularity.
Signed-off-by: Will Deacon
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https://android.googlesource.com/platform/external/u-boot
before freeing the virtqueue structure itself.
Signed-off-by: Will Deacon
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https://android.googlesource.com/platform/external/u-boot/+/5ed54ccd83cbffd0d8719ce650604b4e44
to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https://android.googlesource.com/platform/external/u-boot/+/f73258a4bfe968c5f935db45f2ec5cc0104ee796
---
drivers/virtio/virtio_ring.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/virtio/virtio_ring.c b/drivers
-by: Will Deacon
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https://android.googlesource.com/platform/external/u-boot/+/b4bb5227d4cf4fdfcd8b4e1ff2692d3a54d1482a
---
drivers/virtio/virtio_ring.c | 24
From: Will Deacon
If we detect the VIRTIO_F_IOMMU_PLATFORM transport feature for a device,
then expose it in the device features.
Signed-off-by: Will Deacon
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Bin Meng
Link:
https
These patches will use bounce buffers when VIRTIO_F_IOMMU_PLATFORM feature
is in a virtio device.
This feature can be tested with qemu with -device virtio-iommu-pci.
So that when a -device virtio-blk-pci with iommu_platform=true, it will
uses the bounce buffer instead.
Will Deacon (6):
virtio:
From: meitao
u-boot could be run at EL1/EL2/EL3. so we set it as same as EL1 does.
otherwise it will hang when enable mmu, that is what we encounter
in our SOC.
Signed-off-by: meitao
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom
the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https://android.googlesource.com/platform/external/u-boot/+/417a73581a72ff6d6ee4b0938117b8a23e32f7e8
---
arch/arm/cpu/armv8/cache_v8.c | 14 ++
arch/arm/include/asm/global_data.h
to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https://android.googlesource.com/platform/external/u-boot/+/3c433724e6f830a6b2edd5ec3d4a504794887263
---
arch/arm/cpu/armv8/cache_v8.c | 16 +++-
arch/arm/include/asm/armv8/mmu.h | 14
For some ARM64 cores there is a facility that allows the page
table walker to track the dirty state of a page. These commits
enhances the performance of CMOs by VA.
Marc Zyngier (2):
arm64: Use FEAT_HAFDBS to track dirty pages when available
arm64: Use level-2 for largest block mappings when
We have a few places here that the function declarations do not
match their prototypes, correct them.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
---
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 4 ++--
1 file changed, 2
We have a few places here that the function declarations do not
match their prototypes, correct them.
This bug was found by Tom.
https://lists.denx.de/pipermail/u-boot/2023-March/511786.html
And we fixes this bug by modifying ddr.h instead.
Ying-Chun Liu (PaulLiu) (1):
compulab: imx8mm-cl-iot
vsnprintf_internal() adds 'size' to 'buf' and vsprintf() sets 'size'
to 'INT_MAX' which can overflow. This causes sprintf() to fail when
initializing the environment on 8GB.
Instead of using 'INT_MAX', we use SIZE_MAX - buf, which is the
largest possible string that could fit without overflowing
without overflowing 'size'.
Signed-off-by: Tom Cherry
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https://android.googlesource.com/platform/external/u-boot/+/43aae5d4415e0f9d744fb798acd52429d09957ce
---
lib/vsprintf.c
it almost instantaneous instead of
taking a large amount of time if 2MB mappings are in use instead of
1GB.
Signed-off-by: Marc Zyngier
Signed-off-by: Pierre-Clément Tosi
[ Paul: pick from the Android tree. Fixup Pierre's commit. Rebase to the
upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc
to the
upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https://android.googlesource.com/platform/external/u-boot/+/96ad729cf4cab53bdff8222bb3eb256f38b5c3a6
Link:
https://android.googlesource.com/platform/external/u-boot/+/6be9330601d81545c7c941e3609f35bf68a09059
---
arch/arm/cpu
Reduce the complexity of add_map() and count_required_pts() to gain
better performance.
Marc Zyngier (2):
arm64: Reduce add_map() complexity
arm64: Reduce PT size estimation complexity
arch/arm/cpu/armv8/cache_v8.c | 201 +-
1 file changed, 79 insertions(+),
tables
when using CMO_BY_VA_ONLY, these must be in a valid state from their
allocation.
Signed-off-by: Pierre-Clément Tosi
[ Paul: pick from the Android tree. Fix checkpatch warnings, and rebased
to the upstream. ]
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https
-Chun Liu (PaulLiu)
Cc: Tom Rini
Link:
https://android.googlesource.com/platform/external/u-boot/+/db5507f47f4f57f766d52f753ff2cc761afc213b
Link:
https://android.googlesource.com/platform/external/u-boot/+/2baf54e743380a1e4a6bc2dbdde020a2e783ff67
---
v2: Fix the Signed-off-by list.
---
arch/arm/cpu
Exposing set/way cache maintenance to a virtual machine is unsafe, not
least because the instructions are not permission-checked but also
because they are not broadcast between CPUs. Consequently, KVM traps and
emulates such maintenance in the host kernel using by-VA operations and
looping over
, these must be in a valid state from their
allocation.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Signed-off-by: Pierre-Clément Tosi
Cc: Tom Rini
---
arch/arm/lib/cache.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 1a589c7e2a
instead of using the
set/way instructions.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Signed-off-by: Marc Zyngier
Signed-off-by: Will Deacon
Cc: Tom Rini
---
arch/arm/cpu/armv8/Kconfig| 4 ++
arch/arm/cpu/armv8/cache.S| 50 +-
arch/arm/cpu/armv8/cache_v8.c | 97
instead of using the
set/way instructions.
Ying-Chun Liu (PaulLiu) (2):
arm: cpu: Add optional CMOs by VA
arm64: Initialize TLB memory if CMO_BY_VA_ONLY
arch/arm/cpu/armv8/Kconfig| 4 ++
arch/arm/cpu/armv8/cache.S| 50 +-
arch/arm/cpu/armv8/cache_v8.c | 97
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc:
assign a label for config-SEQ so that the board dts can modify
the configuration more easily.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
---
v2: just rebase to the latest master branch.
v3: rebase to the latest master branch.
v4: fix
h.
v4: fix subject and commit log: node name -> label
Ying-Chun Liu (PaulLiu) (2):
dts: imx8mp: assign binman_configuration label to config-SEQ
dts: imx8mp-rsb3720: modify configrations to load fip into memory
arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi | 10 --
arch/arm/dts/imx8m
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc:
assign a node name for config-SEQ so that the board dts can modify
the configuration more easily.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
---
v2: just rebase to the latest master branch.
v3: rebase to the latest master branch
nch.
Ying-Chun Liu (PaulLiu) (2):
dts: imx8mp: assign binman_configuration node name to config-SEQ
dts: imx8mp-rsb3720: modify configrations to load fip into memory
arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi | 10 --
arch/arm/dts/imx8mp-u-boot.dtsi| 2 +-
2 files changed, 5
On 2022/11/9 05:03, Sean Anderson wrote:
On 11/8/22 01:17, Ying-Chun Liu (PaulLiu) wrote:
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
From: "Ying-Chun Liu (PaulLiu)"
Simulate a TCP HTTP server's response for testing wget command.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Ramon Fried
Cc: Simon Glass
---
test/cmd/Makefile | 1 +
test/cmd/wget
From: "Ying-Chun Liu (PaulLiu)"
Add documentation for the wget command.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Ramon Fried
Cc: Simon Glass
---
doc/usage/cmd/wget.rst | 61 ++
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Reviewed-by: Simon Glass
Cc: Christian Gmeiner
Cc: Joe Hersh
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v1-v12: Made by Dunc
Accorting to commit 290ffe57886271a6 we need to read more significant
bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes
it by accident. Thus we add the changes back. This is needed to let
imx8mm-cl-iot-gate to boot correctly.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Fabio
Accorting to commit 290ffe57886271a6 we need to read more significant
bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes
it by accident. Thus we add the changes back. This is needed to let
imx8mm-cl-iot-gate to boot correctly.
Ying-Chun Liu (PaulLiu) (1):
imx8m: ddr_init
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Reviewed-by: Simon Glass
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Ramon Fried
Add documentation for the wget command.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
---
doc/usage/cmd/wget.rst | 61 ++
doc/usage/index.rst| 1 +
2 files changed, 62 insertions(+)
create mode 100644 doc/usage/cmd/wget.rst
diff --git
Simulate a TCP HTTP server's response for testing wget command.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
---
test/cmd/Makefile | 1 +
test/cmd/wget.c | 206 ++
2 files changed, 207 insertions(+)
create mode 100644 test/cmd/wget.c
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu
for wget command.
v19: Add unit test for wget command.
Ying-Chun Liu (PaulLiu) (4):
net: Add TCP protocol
net: Add wget application
doc: cmd: wget: add documentation
test: cmd: add test for wget command.
cmd/Kconfig| 7 +
cmd/net.c | 13 +
doc/usage/cmd
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Reviewed-by: Simon Glass
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
Cc: Ramon Fried
Add documentation for the wget command.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Simon Glass
---
doc/usage/cmd/wget.rst | 61 ++
doc/usage/index.rst| 1 +
2 files changed, 62 insertions(+)
create mode 100644 doc/usage/cmd/wget.rst
diff --git
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu
for wget command.
Ying-Chun Liu (PaulLiu) (3):
net: Add TCP protocol
net: Add wget application
doc: cmd: wget: add documentation
cmd/Kconfig| 7 +
cmd/net.c | 13 +
doc/usage/cmd/wget.rst | 61
doc/usage/index.rst| 1 +
include/net.h | 38
From: "Ying-Chun Liu (PaulLiu)"
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
Signed-off-by: Ying-Chun Liu (PaulLiu
From: "Ying-Chun Liu (PaulLiu)"
assign a node name for config-SEQ so that the board dts can modify
the configuration more easily.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
---
v2: just rebase to the latest master branch.
From: "Ying-Chun Liu (PaulLiu)"
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
v2: just rebase to the latest master br
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v1-v12: Made by Dunc
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v1-v12: Made by Dunc
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
The command syntax is
wget ${loadaddr}
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Michal Simek
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v1-v12: Made by Dunc
For imx8mm-cl-iot-gate we can use extension command to scan
extension boards attached on the mainboard. We enable the
extension command by default for users to detect the extension
boards.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
For imx8mm-cl-iot-gate we can use extension command to scan
extension boards attached on the mainboard. We enable the
extension command by default for users to detect the extension
boards.
Ying-Chun Liu (PaulLiu) (1):
configs: imx8mm-cl-iot-gate: enable extension command
configs/imx8mm-cl-iot
From: "Ying-Chun Liu (PaulLiu)"
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
Signed-off-by: Ying-Chun Liu (PaulLiu
From: "Ying-Chun Liu (PaulLiu)"
assign a node name for config-SEQ so that the board dts can modify
the configuration more easily.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: NXP i.MX U-Boot Team
---
arch/arm/dts/imx8mp-u-boot.dtsi | 2 +-
1 fi
From: "Ying-Chun Liu (PaulLiu)"
The changes of commit 6a21c695213b ("arm: dts: imx8mp: add of-list
support to common imx8mp-u-boot.dtsi") breaks the loading of the fip.
This commit fixes the break by modify the configuration properly.
Ying-Chun Liu (PaulLiu) (2):
From: "Ying-Chun Liu (PaulLiu)"
add arguments for mmc wp to assign which boot partition to protect.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Peng Fan
Cc: Jaehoon Chung
---
cmd/mmc.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/cmd/m
From: "Ying-Chun Liu (PaulLiu)"
Add features to write protect single boot area rather than all boot
areas.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Peng Fan
Cc: Jaehoon Chung
---
drivers/mmc/mmc.c | 27 +++
include/mmc.h | 16
2 fil
From: "Ying-Chun Liu (PaulLiu)"
Modify mmc wp command and mmc driver to allow write protect only
a single boot partition.
Ying-Chun Liu (PaulLiu) (2):
drivers: mmc: write protect single boot area
cmd: mmc: allow to write protect single boot partition
cmd/mmc.c
Hi Ying,
You woke up an old can, Can you elaborate on the changes you did to
the original patchset ?
I'm reviewing this instead of Joe, so I want to get some context.
I would appreciate it if you could separate the SACK support to a
separate patch, preferably option based.
The TCP stack is
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Ramon Fried
---
v13: Fix some issues which i
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v13: Fix some is
From: "Ying-Chun Liu (PaulLiu)"
In arch/arm/mach-imx/imx8m/soc.c there's an implementation of
board_fix_fdt() introduced by commit 35bb60787b88. Remove the
redundant one to avoid failed to build from source when enabling
CONFIG_OF_BOARD_FIXUP.
Signed-off-by: Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)"
Previously there's no implementation of board_fix_fdt(). But commit
35bb60787b88 introduced one in arch/arm/mach-imx/imx8m/soc.c. Since
the board_fix_fdt() in imx8mm-cl-iot-gate is empty, we should remove
it and use the one from soc.c.
v2: reword comm
From: "Ying-Chun Liu (PaulLiu)"
In arch/arm/mach-imx/imx8m/soc.c there's an implementation of
board_fix_fdt(). Remove the redundant one to avoid FTBFS.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: uboot-imx
---
board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 5 -
1 file
From: "Ying-Chun Liu (PaulLiu)"
Previously there's no implementation of board_fix_fdt(). But recently
there's one in arch/arm/mach-imx/imx8m/soc.c. Since the board_fix_fdt() in
imx8mm-cl-iot-gate is empty, we should remove it and use the one from soc.c.
Ying-Chun Liu (PaulLiu) (1):
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Ramon Fried
---
v13: Fix some issues which i
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: D
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v13: Fix some is
From: "Ying-Chun Liu (PaulLiu)"
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Signed-off-by: Darren Huang
Signed-off-by: Kevin12.Chen
Signed-off-by: Phill.Liu
Signed-off-by: Tim Liang
Signed-off-by
From: "Ying-Chun Liu (PaulLiu)"
Hi. I resend this patch for u-boot-imx due to v7 doesn't directly apply.
Because a previous imx8mm changes for Kconfig and Makefile causes a conflict,
I resend this patch for easier pick-up.
Add initial support for Advantech RSB-3720 board.
The initi
From: "Ying-Chun Liu (PaulLiu)"
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Signed-off-by: Darren Huang
Signed-off-by: Kevin12.Chen
Signed-off-by: Phill.Liu
Signed-off-by: Tim Liang
Signed-off-by
From: "Ying-Chun Liu (PaulLiu)"
Add board dts for Advantech's imx8mp-rsb3720-a1
Signed-off-by: Darren Huang
Signed-off-by: Kevin12.Chen
Signed-off-by: Phill.Liu
Signed-off-by: Tim Liang
Signed-off-by: wei.zeng
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: uboot-imx
---
v2: upd
From: "Ying-Chun Liu (PaulLiu)"
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
v2: update dts
v3: remove unnecessary code. move board code to board/advantech
v4: rebase to latest master branch.
v5:
From: "Ying-Chun Liu (PaulLiu)"
This commit implement flash to the inactive boot partition of eMMC
when dfu_alt_info set mmcpart to "inactive". After flash to the inactive
boot partition. It will switch the active partition to the one that
just flashed.
Signed-off-by: Yi
From: "Ying-Chun Liu (PaulLiu)"
This commit implements write protection for active boot partition for
eMMC. The active boot partition is write protected, and it is still
able to write to the inactive boot partition.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Peng Fan
Cc: Jae
From: "Ying-Chun Liu (PaulLiu)"
Hi all,
I've implemented A/B firmware update based on eMMC hw partitions.
Normally we have 2 boot partitions on eMMC. One is active and another
is inactive. We can then flash the firmware to the inactive one and
make it active.
Also when booting we
From: "Ying-Chun Liu (PaulLiu)"
We changed to single flash.bin now. So dfu_alt_info should be modified
to reflect this change.
Signed-off-by: Ying-Chun Liu (PaulLiu)
---
include/configs/imx8mm-cl-iot-gate.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/inclu
From: "Ying-Chun Liu (PaulLiu)"
imx8mm generate a single bootable flash.bin again. Previous
it is flash.bin and u-boot.itb. So we need to modify dfu_alt_info
for single flash.bin.
Ying-Chun Liu (PaulLiu) (1):
configs: imx8mm-cl-iot-gate: update dfu_alt_info for single flash.bin
From: "Ying-Chun Liu (PaulLiu)"
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Signed-off-by: Darren Huang
Signed-off-by: Kevin12.Chen
Signed-off-by: Phill.Liu
Signed-off-by: Tim Liang
Signed-off-by
From: "Ying-Chun Liu (PaulLiu)"
Add board dts for Advantech's imx8mp-rsb3720-a1
Signed-off-by: Darren Huang
Signed-off-by: Kevin12.Chen
Signed-off-by: Phill.Liu
Signed-off-by: Tim Liang
Signed-off-by: wei.zeng
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: uboot-imx
---
v2: upd
From: "Ying-Chun Liu (PaulLiu)"
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Ying-Chun Liu (PaulLiu) (2):
arm: dts: add imx8mp-rsb3720-a1 dts file
arm: imx8m: add support for Advantech RSB-3720
v2:
From: "Ying-Chun Liu (PaulLiu)"
Previously these two options are called CONFIG_SPL_MMC_SUPPORT
and CONFIG_SPL_SERIAL_SUPPORT. During the transition they are
removed by accident. Thus adding them back.
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: uboot-imx
---
configs/imx8mm-c
1 - 100 of 173 matches
Mail list logo