Skip to contentSkip to conversation

Enable SDP for Compulab IOT-GATE-iMX8 BOARD

DISCUSSION Parthiban 1 participant 1 message Apr 29, 2023

lore
Share & tools
lore

Parthiban

author
#0 lore raw

Dear All,

Good day! Tried enabling SDP for "Compulab IOT-GATE-iMX8 BOARD" for booting over SDP and uuu, but fails to compile. Please find the below compilation error.

SRAM overflow considers the whole data section of flash.bin or is it just SPL? .config is already minimal and only enabled required components.
Also the USB dependency is tricky for me to fix as the gadget part depends on the host driver.

Many thanks to narrow down.

```
aarch64-none-linux-gnu-ld.bfd: u-boot-spl section `.data' will not fit in region `.sram'
aarch64-none-linux-gnu-ld.bfd: region `.sram' overflowed by 9816 bytes
aarch64-none-linux-gnu-ld.bfd: drivers/usb/gadget/ci_udc.o: in function `usb_gadget_register_driver':
u-boot/out/../drivers/usb/gadget/ci_udc.c:1026: undefined reference to `usb_setup_ehci_gadget'
make[2]: *** [../scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
make[1]: *** [u-boot/Makefile:2043: spl/u-boot-spl] Error 2
make[1]: Leaving directory 'u-boot/out'
make: *** [Makefile:177: sub-make] Error 2
```
Signature · 4 lines
Thanks,
Parthiban N
https://www.linumiz.com
Berlin, Germany