2013-11-13 01:54 AM
Hi everybody,
I was very happy to see uCLinux port for Cortex-M4 and my favorite MCU STM32. This well done job was achieved by emcraft. So I wonder that is it possible to run uCLinux on my new toy STM32F429I-DISCO? I have started for it and some u-boot and kernel patching I finished my first job. You must known that code execution from SDRAM on STM32F4 much slower than from FLASH (~6x times slower). So in fact this core is not suitable code execution from SDRAM. But maybe you don't have any chance so you can accept this penalty. Than I modified the kernel to load romfs from flash, simple frame buffer driver, u-boot patching for SDRAM and LCD init functions. You can try and decide for yourself. This is boot-up and simple framebuffer demo video. Emcraft original source git is https://github.com/EmcraftSystems (not including STM32F429I-DISCO board drivers)Sample image attached to the post. This image contains u-boot, kernel and romfs. The serial console is USART3 and PC10->MCU TX, PC11->MCU RX. Don't forget that this interface has TTL levels. #usart #stm32-uclinux-u-boot #usb-driver-p19-stm324f2013-11-28 10:47 PM
Hi,
The kernel doesn't support usb hcd for STM32F4 yet. I will add the USB drivers for STM32F4 soon. Then I can share for testing.Regards2013-11-28 11:22 PM
New version working fine :)
My suggestion: Please add in hello_world program printf('Hello world') working on LCD.2013-11-29 05:28 AM
ok... good idea... I will add
2013-12-03 03:41 PM
> Please add in hello_world program printf('Hello world') working on LCD.
Or even better...the first few lines from the ''top'' command...2013-12-05 10:56 AM
Hi guys,
Sorry for late response. I am busy nowadays. So the attached file contains startup application that is show cpu information on the TFT. It is for just testing. Console on serial port is still valid. ________________ Attachments : uboot_kernel_romfs.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzZ3&d=%2Fa%2F0X0000000bNn%2FGU40NWaTFZrCVwcMogi3KvP00XQg.EvDah_rTJNiS44&asPdf=false2013-12-06 02:24 AM
Working fine:-)
BogoMIPS 168.34 CPU implementer 0x41 CPU architecture ?(11) CPU variant 0x0 CPU part 0xc24 CPU revision 1 If you want - I can add USB keyboard support for LCD console.2013-12-06 02:43 AM
Yes, can be usefull...(imho) certly yes,
The support could include the possibility to switch from OTG (traditional keyboard) and LCD keyboard (Dvorak) in case OTG is un-connected.... (this is a cool feature). I tryed your uboots and them work properly... But I have to load the .hex using ST-Utility because using st-flash the programming failed... I wrote to 0x0800 0000 but nothing.... You have experience with I-Disco + st-utils (st-texane) ??? Regards2013-12-06 02:47 AM
Great news body... I appreciated to you for your contribution. I will share the source body
2013-12-06 05:50 AM
2013-12-06 06:18 AM
Hi Jakob,
I am updating sources to the github rightnow and I will inform everyone who are interested after finish.