Enable SDP for Compulab IOT-GATE-iMX8 BOARD

Parthiban parthiban at linumiz.com
Sat Apr 29 11:01:00 CEST 2023


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
```

-- 
Thanks,
Parthiban N
https://www.linumiz.com
Berlin, Germany


More information about the U-Boot mailing list