[PATCH] odroid-go2: remove setting SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

2021-02-13 Thread Roger Pau Monne
From: Roger Pau Monné Using a non-default SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR setting makes the resulting u-boot-rockchip.bin unbootable, as it gets stuck after SPL. Removing the setting from the defconfig allows U-Boot to load successfully. Signed-off-by: Roger Pau Monné --- Cc: Heiko Stuebner

[PATCH 2/2] build/DTC: fix sed usage in DTC command

2021-02-13 Thread Roger Pau Monne
Current sed usage in the DTC command relies on GNU sed specific -i option which has a slightly different syntax for BSD sed and always expects an extension to be provided in order to create a backup file. Instead drop the cat concatenation done before the sed call and use sed itself to edit and

[PATCH 1/2] scripts/check-config.sh: fix to be compatible with BSD sed

2021-02-13 Thread Roger Pau Monne
Fist use extended regexp in order to drop the '\' around the parentheses which is not supported by BSD sed in regular mode. Secondly use [[:blank:]] instead of \s, as the later is a GNU extension. No functional change intended. Signed-off-by: Roger Pau Monné --- Cc: Masahiro Yamada Cc: Simon

[PATCH 0/2] Fixes for BSD sed compatibility

2021-02-13 Thread Roger Pau Monne
Hello, This series contain two fixes that allow me to build U-Boot with FreeBSD sed instead of GNU sed. Shouldn't introduce any functional change. Thanks, Roger. Roger Pau Monné (2): scripts/check-config.sh: fix to be compatible with BSD sed build/DTC: fix sed usage in DTC command