Re: [PATCH] arm64: zynqmp: Fix set_fdtfile() not to break u-boots DTB

2020-07-24 Thread Michal Simek
st 24. 6. 2020 v 14:44 odesílatel Michal Simek napsal: > > Origin function was calling strsep which replaced delimiter ',' by a null > byte ('\0'). Operation was done directly on FDT which ends up with the > following behavior: > > ZynqMP> printenv fdtfile > fdtfile=xilinx/zynqmp.dtb > ZynqMP>

Re: [PATCH] arm64: zynqmp: Fix set_fdtfile() not to break u-boots DTB

2020-06-24 Thread Michal Simek
On 24. 06. 20 14:44, Michal Simek wrote: > Origin function was calling strsep which replaced delimiter ',' by a null > byte ('\0'). Operation was done directly on FDT which ends up with the > following behavior: > > ZynqMP> printenv fdtfile > fdtfile=xilinx/zynqmp.dtb > ZynqMP> fdt addr

[PATCH] arm64: zynqmp: Fix set_fdtfile() not to break u-boots DTB

2020-06-24 Thread Michal Simek
Origin function was calling strsep which replaced delimiter ',' by a null byte ('\0'). Operation was done directly on FDT which ends up with the following behavior: ZynqMP> printenv fdtfile fdtfile=xilinx/zynqmp.dtb ZynqMP> fdt addr $fdtcontroladdr ZynqMP> fdt print / compatible compatible =