Still the same questions from last year, where is the source code of the bootloader? Shouldn't it be provided along with the spirit of the open source software? Thanks.
. The STM-MEM add-on board provides 32MB of PSRAM and 8MB of NOR Flash. Linux (uClinux included) requires external RAM to run - the integrated SRAM of STM32F2 is not nearly large enough even for an ultra-tiny Linux configuration; you need at least 4MB of external RAM for practical configurations. In respect to specific devices to use for external RAM in a practical STM32F2 design targetting Linux, STM32F2 supports only SRAM devices as far as external RAM is concerned. You would be able to get a 16MB 70ns PSRAM (with a Page Mode for 20ns sequential accesses) for $6-7. That device draws power at just uA levels at static times making it possible to use Linux with power-sensitive applications. Of course, you also need something to load a bootable Linux image from, but this can be about anything - network, SDcard, SPI EEPROM, NOR Flash, etc; even embedded Flash, in case you boot from a compressed kernel and mount a root filesystem on NOR Flash, SDcard, NFS, etc.
We are designing a board based on STM32f103 with 1MB of internal flash. We want to run uCLinux on it.
On the stm3210e eval board, you have used a huge NAND FLASH, then 16 MB of nor flash, and 16 MB of serial flash. I want to know whether all these are necessary to run uClinux.
Frankly, I just wanted to confirm what is the minimum memory requirement( flash as well as RAM) for the running some basic application on uclinux using a stm32f1xx ucontroller.
Hi Tarm,
Quote:
I realize this is just a preview release, but I am very curious about it. I loaded it up and looked around. It still looks pretty basic with just a kernel and bare-bones busybox. Getting the image that small is very impressive! I assume you are basing your changes on Catalin Marinas's CM3 linux tree? How much additional modifications did you have to do to get it to boot? You seem to have drivers for GPIO, LCD, and USART. What additional peripherals do you intend to make drivers for?
Thanks for the comments :) , Yes we started from Catalin Marinas's CM3 linux tree for the Cortex-M3 support and we have fixed some minors issues inside the Core then we build our own blocks and drivers especially for the UART and Clocks to enabled the boot. We are not planning to add more drivers from the time being however we will post the full source codes to give them to the Open community as starting point with STM32 to be enriched and developed by Linux /uclinux funs...
Quote:
One request though. Please push your linux modifications upstream as soon as you can. It is frustrating to have embedded platforms that are not upstream and only older kernels available from the manufacturer (or even more difficult, third party ''partners'') and they get old and stale very fast. If you can get the changes upstream, you will be doing your customers and yourself a big favor (from a maintenance perspective).
Thanks for the push, Yes it is planned once we get a proper and stable version to be uploaded to the www.uclinux.org
Sounds like you need to become more familiar with the software you have chosen first as part of the due diligence process. You should perhaps see if Emcraft provides consulting services, or can point to some providers, as there isn't much traffic related to ucLinux on this forum.
Suggest you review the Emcraft FAQ, which specifically covers FLASH/RAM requirements.