This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

rebuild beagleboard kernel with 5.02 SDK

I installed the 5.02 sdk in my home directory on my Ubuntu 10.04 VMware virtual machine of my PC.

I copied the PSP kernel source to a "workspace" subdirectory in my home directory.

I ran the environment-setup script.

I then did a [linux-devkit]:~/workspace/linux-2.6.39-r102h-arago1> make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm distclean

which seem to complete ok.

I then tried:

[linux-devkit]:~/workspace/linux-2.6.39-r102h-arago1> make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm omap3_beagle_defconfig

/home/david/ti-sdk-beagleboard-05.02.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/include/bits/string3.h:133: warning: no previous prototype for ‘stpncpy’
  HOSTLD  scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/omap3_beagle_defconfig"!
***
make[1]: *** [omap3_beagle_defconfig] Error 1
make: *** [omap3_beagle_defconfig] Error 2

 

which fails:

After some searching I concluded the documentation on the web site was wrong and it should be:

[linux-devkit]:~/workspace/linux-2.6.39-r102h-arago1> make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm omap2plus_defconfig

which seems to have completed sucessfully.

I then tried:

[linux-devkit]:~/workspace/linux-2.6.39-r102h-arago1> make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm uImage

Which started ok but then...

In file included from arch/arm/mach-omap2/board-h4.c:38:
arch/arm/plat-omap/include/plat/keypad.h:14:2: warning: #warning Please update the board to use matrix-keypad driver
  CC      arch/arm/mach-omap2/board-2430sdp.o
  CC      arch/arm/mach-omap2/hsmmc.o
  CC      arch/arm/mach-omap2/board-apollon.o
  CC      arch/arm/mach-omap2/board-omap3beagle.o
arch/arm/mach-omap2/board-omap3beagle.c: In function 'omap3_beagle_init':
arch/arm/mach-omap2/board-omap3beagle.c:1014: error: implicit declaration of function 'wl12xx_set_platform_data'
arch/arm/mach-omap2/board-omap3beagle.c:1014: error: 'omap_beagle_wlan_data' undeclared (first use in this function)
arch/arm/mach-omap2/board-omap3beagle.c:1014: error: (Each undeclared identifier is reported only once
arch/arm/mach-omap2/board-omap3beagle.c:1014: error: for each function it appears in.)
arch/arm/mach-omap2/board-omap3beagle.c:1017: error: 'wl12xx_device' undeclared (first use in this function)
arch/arm/mach-omap2/board-omap3beagle.c:1019: error: 'omap_vwlan_device' undeclared (first use in this function)
make[1]: *** [arch/arm/mach-omap2/board-omap3beagle.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2
[linux-devkit]:~/workspace/linux-2.6.39-r102h-arago1>

any ideas? I think I might have to change the omap2plus_defconfig but what, where and how?

 

 

 

 

 

 

  • The correct command should be 'make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm omap3_beagle_defconfig' as you tried.  I can confirm it does work on my SDK 5.02 install.  However, I did not copy the PSP directory into a private directory as you did. 

    Can you try running this command in the installation directory (ti-sdk-beagleboard-05.02.00.00/psp/linux-2.6.39-r102h-arago1)?  The problem seems to be that it can't find the omap3_beagle_defconfig file itself.  Can you confirm the file exists in /arch/arm/configs?

     


  • Seems to be working fine now when executed from install directory.

    Thanks!