[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Using PetaLinux v0.3-rc1 - do kernel settings EVER need to be set/changed?



Hello John,
 
I've been through this pain recently for a custom board. Here is what I found. Hope I will be answering at least part of your questions. The sequence of steps as mentioned in the developer.petalinux.com is just OK -- I would say very helpful, disregarding the fact it is outdated. 
However, you may stumble on some problems during kernel compilation depending on the settings you have made.
 
Personaly, I had:
1) the fact the fs-boot does not want to compile (due to some missing defines) if there is no
    FLASH memory in your design ...
2) the libz error (which was signaled/solved on the forum)
3) cannot compile u-boot separately ... with make u-boot (because some include folders are not properly created or somenthing similar). However a simple make works!
4*) In device drivers -> character devices -> serial... you have to set correctly "XIlinx Uartlite" or other, otherwise the .../microblaze/platform/common content will not compile and you get a misleading linker error (something like built-in.o not found )
5) carefully set the ethernet network IP (EMAC, Emaclite or other)
6) there are other settings I do not recall ...
 
What I have done in order to help myself is to go through all the settings for an existing platform (ML501 if I remember well) and write down the settings used there -- I only considered the settings for the "reference platform" and ignored the LEDS/GPIOs/Buttons etc.
Doing this I managed to get the kernel compiled.
 
Hope this helps,
Cristian-Raul
 
P.S: to answer your subject question: yes they have to changed!
 
 
 
 


John Mcgrath <john.mcgrath@xxxxxxxxxx> wrote:
Hi All,
I would like to build a petalinux system for a V5 board.
I?ve noticed that all the latest documentation on developer.petalinux.com
From all I can read, it appears that whenever ?Customize Kernel Settings? is mentioned, it says not to touch these settings, as the default configuration is ok.
 
My question is ? is this only ok if we use one of the pre-defined platforms in the Vendor/Product selection?
What if a new platform is created using the petalinux-new-platform command? Will the kernel defaults still be ok?
 
I tried digging around and the only reference I could find to changing the kernel settings is in the ?petalinux from scratch?, which seems to be pretty outdated when compared to the current (v0.30) release (some of the sub-menu items don?t appear to exist).
 
So in short ? do I ever need to touch the ?Customize Kernel Settings? section ? or are the defaults always good for building V5 / EDK 9.2 MB designs?
 
Any info on this is appreciated!!
 
Cheers
John


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.