
Hello!
Chetan Nanda schrieb:
In that case there must be some threads that continuously check for pending requests from UART, ETHERNET or so .. But I don't find any sort of threading inside u-boot code
No, the peripherals get only polled when they are used. That's why a device running U-Boot usually won't respond to ping/ICMP echo. Network driver polling only occurs from NetLoop(); this function will be used only for most (all?) network commands.
U-Boot doesn't implement any kind of threading. Keep in mind that U-Boot is *not* an operating system but only a bootloader.
There have been lots of requests for some kind of multitasking but it would be quite time-consuming to implement this without breaking compatibility with many software parts why rely on the fact that they have full control over the system when running.
Regards Andreas Schweigstill