Signed-off-by: Artem Lapkin
---
V2 changes
_ rebase to master
_ from
https://patchwork.ozlabs.org/project/uboot/patch/20211016051915.4157293-1-...@khadas.com/
---
boot/image-board.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/boot/image-board.c b/boot/image-board.c
Add new tests for `setenv -r` options (setup env variable with additional
resolving vars inside value).
test.py -k test_env
Signed-off-by: Artem Lapkin
---
test/py/tests/test_env.py | 24
1 file changed, 24 insertions(+)
diff --git a/test/py/tests/test_env.py b/test
ot;${c}! ${a}...");
/* d="hello world! hello..." */
Signed-off-by: Artem Lapkin
---
V2 changes:
_ fix comments style
_ add comment include/exports.h
_ remake strcpy to strdup
_ env_resolve minimize
---
cmd/nvedit.c | 43 ++-
include/_ex
ot;${c}! ${a}...");
/* d="hello world! hello..." */
Artem Lapkin (2):
env: setenv add resolve value option
test: env: deep resolve value testing
---
V2 changes:
_ fix comments style
_ add comment include/exports.h
_ remake strcpy to strdup
_ env_resolve minimize
_ test added: test
;, "${c}! ${a}...");
/* d="hello world! hello..." */
Notes
Resolving works only for ${var} "bracket" and didn't workd for
"unbracket" $var
=> setenv -r d '$c! $a...'
=> printenv d
d=$c! $a...
Signed-off-by: Artem Lapkin
---
cmd/nvedit.c |
Come-from:
https://patchwork.ozlabs.org/project/uboot/patch/20211015101501.4091141-1-...@khadas.com/
Signed-off-by: Artem Lapkin
---
common/image-board.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/image-board.c b/common/image-board.c
index e7660352e9
Problem
We have unbootable raw initrd images because, select_ramdisk for raw
initrd images ignore submited select addr and setup rd_datap value to 0
Solution: setup rd_datap value from select
Signed-off-by: Artem Lapkin
---
common/image-board.c | 2 +-
1 file changed, 1 insertion(+), 1
e the incorrect path "/boot/extlinux/"
from the bootfile env.
Solution
sysboot must care about bootfile and restore default value after usage.
Come from:
https://patchwork.ozlabs.org/project/uboot/patch/20211012085544.3206394-1-...@khadas.com/
Signed-off-by: Artem L
rnet@ff3f device
TFTP from server 192.168.11.1; our IP address is 192.168.11.151
Filename '/boot/extlinux/pxelinux.cfg/default'.
Not retrying...
========
Signed-off-by: Artem Lapkin
---
include/config_distro_bootcmd.h | 2 ++
1 file change
Add lz4 and zstd compression magic map. Already can decompress images
with lz4 and zstd compression type.
Signed-off-by: Artem Lapkin
---
common/image.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/image.c b/common/image.c
index 59c52a1f9a..e199d61a4c 100644
--- a/common/image.c
If EFI_CONSOLE_UTF_SAFE is enabled and vidconsole is active, unicode
characters will be replaced with "." for all console outputs.
Vidconsole does not support unicode output, and your console will suffer
display issues if EFI_CONSOLE_UTF_SAFE is disabled.
Signed-off-by: Artem Lapkin
Setup the max rows and columns limit for the EFI console output.
Signed-off-by: Artem Lapkin
---
lib/efi_loader/Kconfig | 12
lib/efi_loader/efi_console.c | 5 +
2 files changed, 17 insertions(+)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index
Multiplexed adaptation of the query_console_size() function;
automatically determine the minimal console area that will fit all
outputs properly.
Signed-off-by: Artem Lapkin
---
lib/efi_loader/efi_console.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git
Fixed detection of vidconsole from within a multiplexed stdout string. As
you know, a user can use a comma-separated list of devices to set stdin,
stdout and stderr. For example, "setenv stdout serial,vidconsole" is a
multiplexed string.
Signed-off-by: Artem Lapkin
---
lib/
will suffer display
issues if EFI_CONSOLE_UTF_SAFE is disabled.
Artem Lapkin (4):
EFI: console: query_vidconsole: multiplex adaptation
EFI: console: query_console_size: multiplex adaptation
EFI: console: max rows and cols user limit
EFI: console: improve vidconsole unicode output
li
Enable configs to support SMBIOS for all Khadas VIM boards
Reviewed-by: Neil Armstrong
Signed-off-by: Artem Lapkin
---
configs/khadas-vim2_defconfig | 2 ++
configs/khadas-vim3_defconfig | 2 ++
configs/khadas-vim3l_defconfig | 2 ++
configs/khadas-vim_defconfig | 2 ++
4 files changed, 8
Khadas vim series: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come
from the device tree.
Reviewed-by: Neil Armstrong
Signed-off-by: Artem Lapkin
---
.../meson-g12b-a311d-khadas-vim3-u-boot.dtsi | 23 +++
.../meson
(maybe).
Note: same need explore real problem why its happens! because this
patch may be just hack.
Signed-off-by: Artem Lapkin
---
drivers/net/designware.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 5d92257e..6485c46
Enable configs to support SMBIOS for all Khadas Edge* boards
Signed-off-by: Artem Lapkin
---
configs/khadas-edge-captain-rk3399_defconfig | 2 ++
configs/khadas-edge-rk3399_defconfig | 2 ++
configs/khadas-edge-v-rk3399_defconfig | 2 ++
3 files changed, 6 insertions(+)
diff
Khadas Edge series: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come
from the device tree.
Signed-off-by: Artem Lapkin
---
arch/arm/dts/rk3399-khadas-edge-u-boot.dtsi | 21 +
1 file changed, 21 insertions(+)
diff
Enable configs to support SMBIOS for all Khadas vim* boards
Signed-off-by: Artem Lapkin
---
configs/khadas-vim2_defconfig | 2 ++
configs/khadas-vim3_defconfig | 2 ++
configs/khadas-vim3l_defconfig | 2 ++
configs/khadas-vim_defconfig | 2 ++
4 files changed, 8 insertions(+)
diff --git
Khadas vim series: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come
from the device tree.
Signed-off-by: Artem Lapkin
---
.../meson-g12b-a311d-khadas-vim3-u-boot.dtsi | 23 +++
.../meson-gxl-s905x-khadas-vim-u
phy-names was improperly implemented resulting in an inoperable USB-OTG
port.
- phy-names = "usb2-phy0\0\0usb2-phy1\0";
+ phy-names = "usb2-phy0\0usb2-phy1";
Signed-off-by: Artem Lapkin
---
board/amlogic/vim3/vim3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Wired Keyboard
Signed-off-by: Artem Lapkin
---
configs/khadas-edge-captain-rk3399_defconfig | 2 ++
configs/khadas-edge-rk3399_defconfig | 2 ++
configs/khadas-edge-v-rk3399_defconfig | 2 ++
3 files changed, 6 insertions(+)
diff --git a/configs/khadas-edge-captain-rk3399_defconfig
b
Wired Keyboard
Signed-off-by: Artem Lapkin
---
include/configs/evb_rk3399.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
index b7e850370b..492b7b4df1 100644
--- a/include/configs/evb_rk3399.h
+++ b/include/configs/evb_rk3399.h
Problem: USB2.0 port can recognize any USB1.1 devices (like usb keyboard)
Add missed USB OHCI configuration
Artem Lapkin (2):
ARM64: rockchip: evb_rk3399: add usb ohci definations
configs: rockchip: rk3399: Khadas Edge add USB OHCI
configs/khadas-edge-captain-rk3399_defconfig | 2
change max freq to 104Mhz for SPI-NOR flash
Signed-off-by: Artem Lapkin
---
arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
b/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
index c1763336cf
need return -1 if boot source is not EMMC or SD ( for example it will be
useful if we have multy env sources configuration and device was booted
from SPI flash and env need read from SPI not from mmc )
Signed-off-by: Artem Lapkin
---
board/amlogic/vim3/vim3.c | 10 --
1 file changed, 8
change max freq to 104Mhz for SPI-NOR flash
Signed-off-by: Artem Lapkin
---
arch/arm/dts/meson-gxm-khadas-vim2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/meson-gxm-khadas-vim2.dts
b/arch/arm/dts/meson-gxm-khadas-vim2.dts
index bff8ec2c1c..e2bd9c7c81
make possible to load simple compressed linux kernel for meson64
Signed-off-by: Artem Lapkin
---
include/configs/meson64.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/meson64.h b/include/configs/meson64.h
index e3d25493..552a08c2 100644
--- a/include/configs/meson64.h
fdtoverlay (pxe_utils) require define fdtoverlay_addr_r env variable
for example sunxi-common.h meson64.h already have it.
Signed-off-by: Artem Lapkin
---
include/configs/rk3399_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/rk3399_common.h b/include/configs
Problem: not possible to use CONFIG_USB_OHCI_HCD=y and
CONFIG_USB_OHCI_GENERIC=y options without CONFIG_USB_OHCI_NEW and
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS definations
Add missed definations.
Signed-off-by: Artem Lapkin
---
include/configs/evb_rk3399.h | 3 +++
1 file changed, 3 insertions
h@0 > /sdhci@fe33 > /mmc@fe320000
Signed-off-by: Artem Lapkin
---
arch/arm/mach-rockchip/rk3399/rk3399.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c
b/arch/arm/mach-rockchip/rk3399/rk3399.c
index 869d2159..69e0c8c2 100644
-
amp;& script
LABEL reset
# multiline usage
LOCALCMD echo RESET
LOCALCMD reset
LABEL reset again
# multiline alias usage
! echo RESET
! reset
LABEL localboot
# redefile localcmd for localboot
LOCALBOOT 1
LOCALCMD echo temporary redefine localcmd
Signed-off-by: Artem Lapkin
.80:/ && pxe get
...
=> printenv tftp_filename tftp_remote_ip serverip
tftp_filename=/pxelinux.cfg/default-arm-meson
tftp_remote_ip=192.168.100.80
serverip=192.168.100.1
Signed-off-by: Artem Lapkin
---
net/tftp.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/net/tftp.c b/ne
ipt
LABEL reset
# multiline usage
LOCALCMD echo RESET
LOCALCMD reset
LABEL reset again
# multiline alias usage
! echo RESET
! reset
LABEL localboot
# redefile localcmd for localboot
LOCALBOOT 1
LOCALCMD echo temporary redefine localcmd
Signed-off-by: Artem Lapkin
---
ethmac_disable pcie_disable vpu_disable
# same as
# FDTOVERLAYS fdt/ethmac_disable.dtbo fdt/pcie_disable.dtbo fdt/vpu_disable.dtbo
Signed-off-by: Artem Lapkin
---
cmd/pxe_utils.c | 22 --
cmd/pxe_utils.h | 1 +
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/cmd
=192.168.2.33::192.168.2.1:255.255.255.0
Signed-off-by: Artem Lapkin
---
cmd/pxe_utils.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c
index 8716e782..2049c0f3 100644
--- a/cmd/pxe_utils.c
+++ b/cmd/pxe_utils.c
@@ -395,9 +395,12
or disconnected displays.
NOTE: this option disabled by default
Signed-off-by: Artem Lapkin
---
drivers/video/meson/Kconfig | 10 ++
drivers/video/meson/meson_vpu.c | 19 +--
2 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/drivers/video/meson/Kconfig b/drivers
Add missed include meson-g12-common-u-boot.dtsi
PROBLEM: missed hdmi video setup for VIM3 and VIM3L boards
Signed-off-by: Artem Lapkin
---
arch/arm/dts/meson-khadas-vim3-u-boot.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/meson-khadas-vim3-u-boot.dtsi
b/arch/arm/dts
rm/dts/meson-sm1-sei610.dts: gpio = < GPIOH_8
GPIO_OPEN_DRAIN>;
```
Signed-off-by: Artem Lapkin
---
drivers/gpio/gpio-uclass.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index bad6b71e0c..6225f32457 100644
next patches add missed parts
Artem Lapkin (2):
gpio: gpio-uclass: add OPEN_DRAIN flag parsing
arm64: dts: meson: fix meson-khadas-vim3-u-boot.dtsi
arch/arm/dts/meson-khadas-vim3-u-boot.dtsi | 2 ++
drivers/gpio/gpio-uclass.c | 10 ++
2 files changed, 12 insertions
Fix reading built-in ethernet MAC address from efuse
NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset
if mac from efuse not valid we use meson_generate_serial_ethaddr
NOTE: remake odroid-n2.c from Neil Armstrong
Signed-off-by: Artem Lapkin
---
board/amlogic/vim3/vim3.c
Fix reading built-in ethernet MAC address from efuse
NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset
if mac from efuse not valid we use meson_generate_serial_ethaddr
NOTE: remake odroid-n2.c variant from Neil Armstrong
Signed-off-by: Artem Lapkin
---
board/amlogic/vim3
Add the board specific code for reading built-in ethernet MAC address from efuse
NOTE: MAC is stored in ASCII format, 1bytes = 2characters by 0 offset
if mac from efuse not valid we use meson_generate_serial_ethaddr
NOTE: remake odroid-n2.c variant from Neil Armstrong
Signed-off-by: Artem
Fixed randomly generated ethernet mac address!
Used meson_generate_serial_ethaddr for generate mac address from
board serial number, if ethaddr variable not defined.
Signed-off-by: Artem Lapkin
---
board/amlogic/vim3/vim3.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/board
46 matches
Mail list logo