From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Schweigstill Date: Tue, 08 Jan 2008 14:03:40 +0100 Subject: [U-Boot-Users] Do we enable Interrupts in U-Boot? In-Reply-To: <7f245da80801080452p3c939977i649b5ecede367348@mail.gmail.com> References: <7f245da80801080411g4f8e4f82xdb0f6271a8b20f5a@mail.gmail.com> <200801081334.49170.sr@denx.de> <7f245da80801080452p3c939977i649b5ecede367348@mail.gmail.com> Message-ID: <478374AC.6030706@schweigstill.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- Dipl.-Phys. Andreas Schweigstill Schweigstill IT | Embedded Systems Schauenburgerstra?e 116, D-24118 Kiel, Germany Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436 Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/