Skip to content

Integrate meta-seco-rk/ap/c31-fix-uart

Commit: edgehog/layers/seco/meta-seco-rk@ce359de0

[RK3399] update the correct ddrbin when setting the uart baudrate

The recipe is currently updating rk3399_ddr_800MHz_v*.bin but the ddrbin that is used in the build to produce idblock.img is rk3399_ddr_933MHz_v*.bin, so the baudrate is not actually set.

Update rk3399_ddr_933MHz_v*.bin instead.

--

Commit: edgehog/layers/seco/meta-seco-rk@83e9105a

[RK3399][UART] fix baudrate sed pattern regex

The sed expression currently replaces the string "uart baudrate=" with "uart baudrate=115200". This means that if this operation is performed multiple times on the same file (e.g. when re-running the do_compile task with bitbake -C compile virtual/bootloader), the resulting line in ddrbin_param.txt becomes:

uart baudrate=1152001152001152001152...

Make the sed expression idempotent by matching the whole line.

Merge request reports