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

Re: [microblaze-uclinux] error UART not defined




Michal

I'm still fighting the original error UART not defined problem and will be asking some additional questions soon, but..... I'm not sure disabling U-Boot will help either since I do need the image.ub file. However, to get through the night, as they say, let me understand this last suggestion. If one takes the following....

petalinux-dist/vendors/PetaLogix/common/common.mak

and edits the lines containing:

ifneq ($(BUILD_UBOOT),)
image: mkcramfs $(LINUXBIN) $(FSIMG) $(ELF_IMAGE) $(SREC_IMAGE) netflash_ver mkubimage mkubscript
else
image: mkcramfs $(LINUXBIN) $(FSIMG) $(ELF_IMAGE) $(SREC_IMAGE) netflash_ver
endif

and edits it to:

image: mkcramfs $(LINUXBIN) $(FSIMG) $(ELF_IMAGE) $(SREC_IMAGE) netflash_ver mkubimage mkubscript
image: mkcramfs $(LINUXBIN) $(FSIMG) $(ELF_IMAGE) $(SREC_IMAGE) netflash_ver

The /tftpboot directory, when the compile is complete, will have the image.ub file exactly as if U-Boot was run?

If this is the case, then why run U-boot at all? Understanding I have no experience yet with U-Boot and what it does.

....thanks......Chris


Michal Simek wrote:
Hi guys,


Hello Mak,

Just to clear something out:

image.ub --> is the linux kernel image and the root file system in
U-Boot format.

it was not created since you specified that you did not want it to be
created when you customized the platform settings in Menuconfig.

image.bin --> is the linux kernel image and the root file system in
binary format. this is the one you would use to boot the system up in
this case.

correct me if I am wrong. thanks.

yes, you are right. But it is no problem you can create it by hand.
It is easy. Go to petalinux-dist/vendors/PetaLogix/common/common.mak -> lines
428-460 -> remove ifneq and endif and you should get ub images without U-BOOT
build. Or just run line 442-449 with correct values.

Regards,
Michal


Regards.

Aws\

On Mon, Feb 23, 2009 at 12:16 PM, Olof Backing
<olof.backing@xxxxxxxxxxxx <mailto:olof.backing@xxxxxxxxxxxx>> wrote:

    On 23 feb 2009, at 19.43, Mak Visp wrote:

        I tried to disable building u-boot. The kernel compiles without
        errors. But at the end there is no "image.ub".


    You did disable u-boot, didn't you... That's why you won't receive
    any u-boot-doped binaries. The extension .ub stands for - U-Boot!


        I am confused with this. Is it that I am missing something while
        config or something has changed?



    Don't be... ;)

    Regards,
    Olof
-- Olof Backing
    CAG Contactor AB                              Office: +46 (0)8 752 81 00
    Finlandsgatan 14                             Mobile: +46 (0)70 995 98 99
    SE-164 74  KISTA                                 Fax: +46 (0)8 752 05 30


    ___________________________
    microblaze-uclinux mailing list
    microblaze-uclinux@xxxxxxxxxxxxxx
    <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
    Project Home Page :
    http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
    <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
    Mailing List Archive :
    http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
    <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>




--
Aws Ismail, BASc. EE

MASc. Candidate
Mechatronic Systems Engineering
Simon Fraser University
250-13450 102 Avenue
Surrey BC V3T 0A3
---------
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/