Hi
I get "Error reading output register" error when i try to set the gpio value in uboot for imx8dxl custom board. Please help to solve the issue
U-Boot 2020.04 (Jan 21 2022 - 11:23:07 +0530)
CPU: NXP i.MX8DXL RevA1 A35 at 1200 MHz at 40C
Model: NXP i.MX8DXL EVK Board
Board: iMX8DXL EVK
Boot: MMC0
DRAM: 1021.8 MiB
Error reading output register
Error reading output register
Error reading output register
Error reading output register
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Select HS400 failed -5
*** Warning - bad CRC, using default environment
Please suggest how to solve
Hi Aldo,
Thanks for the reply.
I am trying the below code in uboot under board/freescale/imx8dxl-evk/imxdxl-evk.c file
imx8_iomux_setup_multiple_pads(enet_reset_pads, ARRAY_SIZE(enet_reset_pads));
gpio_request(GPIO_ENET_NRST, "GPIO_ENET_NRST");
gpio_direction_output(GPIO_ENET_NRST,0);
mdelay(1500);
gpio_set_value(GPIO_ENET_NRST,1);
udelay(500);
gpio_set_value(GPIO_ENET_NRST,0);
udelay(500);
gpio_set_value(GPIO_ENET_NRST,1);
udelay(500);
I get the "Error reading output register" for gpio_direction_output and gpio_set_value.
Hi,
Please do remember that the i.MX 8DXL is still in pre-production stage so our support is limited and all information is subjected to changes.
One could check that the GPIO are correctly muxed/configured.
Best regards,
Aldo.
Hello,
Could you provide more information regarding your issue like how are you doing this?
Which files have you modified?
Best regards,
Aldo.