cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring uClinux for STM32

shauns87
Associate II
Posted on August 25, 2014 at 15:32

Hi. 

I am configuring uClinux for STM32F1. I have applied the STM32 patch. But, in the uClinux-dist/vendors, I am unable to find the STM32 folder. Besides, after menu makeconfig, I cannot find the vendor selection tab as well. 

Please help

#make-menuc #configuring #sledgehammer-to-crack-nut #cross-post #uclinux
4 REPLIES 4
Andrew Neil
Chief II
Posted on August 26, 2014 at 12:48

This has been rumbling-on on various Linkedin groups for ages, but people here may not know the history.

So you need to explain what you've done so far - what are you referring to as ''

the STM32 patch

''? Where is this ''

menu makeconfig

''? etc, etc,...

shauns87
Associate II
Posted on August 27, 2014 at 11:50

@ Neil

This is what I have done so far:

1) Downloaded uclinux dist: http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20080808.tar.bz2

 

 

2) Downloaded the uClinux distribution update patch file:

 

uClinux-dist-20080808-20090112.patch.gz </p>

 

 

 

</i>

 

 

3) downloaded the

uClinux_on_stm32.patch.gz

 

 

4)

http://www.codesourcery.com/sgpp/lite/arm/portal/release827

 (Mentor Graphics GNU toolchain)

 

 

 

 

</i>

 

 

 

</i>

 

 

5) Installed the code sourcery toolchain

 

 

6) Extracted the uClinux dist files

 

 

7)

Update the uClinux distribution with the

uClinux-dist-20080808-20090112.patch.gz

patch

 

 

😎

patch the uClinux distribution with

uClinux_on_stm32.patch.gz

from the STM3210E-EVAL uClinux kit:

 

 

9) Changed the directory to uClinux-dist

 

 

10) Run from the terminal the command ''make menuconfig''

 

 

11) Found the menu for vendor selection

 

 

12) Could not find the option for STmicroelectronics but got the option for all the rest of the companies like philips, nxp, microsemi, etc.

 

 

13) Checked in the distribution folder of the uClinux directory. Could not find the folder of STmicroelectronics but found all the rest of the microcontroller manufactureres.

 

 

I am stuck at this point. Please let me know if there is a mistake which patching the kernel with STM32_on_uClinux

 

 

Regards,

 

Shashank

 

 

 

 

 

Posted on August 27, 2014 at 13:12

I am stuck at this point. Please let me know if there is a mistake which patching the kernel with STM32_on_uClinux

Then review the changes described in the patch file(s) with respect to the STM32, and confirm those changes/additions have actually occurred in your source tree.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
shauns87
Associate II
Posted on August 27, 2014 at 19:41

Hi Neil. Thanks for the reply. I will do it and see the changes.

Regards,

Shashank Sayanwar