Re: imx-usb-loader on imx8mq/mm

2019-12-12 Thread Sascha Hauer
On Fri, Dec 13, 2019 at 07:20:15AM +, Yazdani, Reyhaneh wrote: > Thanks Lucas. > > So, if I have a board which has only eMMC (no SD card). What would be your > recommendation about programming it with Barebox? > > Currently, I program U-Boot via uuu utility and then from Kernel, I program >

Re: imx-usb-loader on imx8mq/mm

2019-12-12 Thread Yazdani, Reyhaneh
Thanks Lucas. So, if I have a board which has only eMMC (no SD card). What would be your recommendation about programming it with Barebox? Currently, I program U-Boot via uuu utility and then from Kernel, I program Barebox on boot1 partition of eMMC (boot0 is not possible). I am trying at least

[PATCH] commands: led: print actual error code when led_set fails

2019-12-12 Thread Ahmad Fatoum
If led_set fails, the error code is the return value, not errno. Fix this. While at replace the magic value in the command return code. Signed-off-by: Ahmad Fatoum --- commands/led.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/led.c b/commands/led.c index

[PATCH] led: pca955x: remove ineffectual assignment

2019-12-12 Thread Ahmad Fatoum
the .num member of struct led is a 'private' member populated by led_register. Populating it has no effect because it's always overwritten. Remove the assignment. Signed-off-by: Ahmad Fatoum --- drivers/led/led-pca955x.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: imx-usb-loader on imx8mq/mm

2019-12-12 Thread Lucas Stach
Hi Reyhaneh, On Do, 2019-12-12 at 10:13 +, Yazdani, Reyhaneh wrote: > Hello everyone, > > I am trying to load Barebox to the imx8mm board via imx-usb-loader, but it > stops > in the middle. I think maybe it is because we do not have a flash-header file > with the static RAM configuration.

imx-usb-loader on imx8mq/mm

2019-12-12 Thread Yazdani, Reyhaneh
Hello everyone, I am trying to load Barebox to the imx8mm board via imx-usb-loader, but it stops in the middle. I think maybe it is because we do not have a flash-header file with the static RAM configuration. Does someone have any idea about that? Best, Reyhaneh -- Reyhaneh Yazdani Data Modul