[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] uClinux bootup problems
Hello,
I have been trying unsuccessfully to get uClinux to boot on my custom
board (see my previous post "Problem Booting uClinux" on June 30). It
comes up to the point of executing the init program (I see "Freeing init
memory: 36K" on the console). I have turned on file load debugging
(mb-flthdr -k), and sometimes I see the related debug messages,
sometimes not - in other words, it does not always seem to fail at the
same point. If I stop the processor in xmd, it often shows that it
halted at address 0x2001 (?).
I have been looking at everything I can think of - memory allocation,
caches, the genromfs process, etc. I noticed that when selecting the
product during the menuconfig process, I see "uclinux-auto" and "common"
each listed TWICE as product choices. After menuconfig runs to
completion, if I look at the uClinux-dist/autoconf.h file I see the
following:
--snip--
#undef CONFIG_DEFAULTS_VIA
#undef CONFIG_DEFAULTS_WEISS
#define CONFIG_DEFAULTS_XILINX 1
#undef CONFIG_DEFAULTS_XILINX_COMMON
#undef CONFIG_DEFAULTS_XILINX_COMMON
#define CONFIG_DEFAULTS_XILINX_UCLINUX_AUTO 1
#undef CONFIG_DEFAULTS_XILINX_UCLINUX_AUTO
/*
* Kernel/Library/Defaults Selection
*/
#define CONFIG_DEFAULTS_KERNEL_2_4 1
#undef CONFIG_DEFAULTS_LIBC_NONE
#undef CONFIG_DEFAULTS_LIBC_GLIBC
#undef CONFIG_DEFAULTS_LIBC_UC_LIBC
#define CONFIG_DEFAULTS_LIBC_UCLIBC 1
#undef CONFIG_DEFAULTS_OVERRIDE
#define CONFIG_DEFAULTS_KERNEL 1
#undef CONFIG_DEFAULTS_VENDOR
#undef CONFIG_DEFAULTS_VENDOR_UPDATE
--end of file--
Notice that there is a #define CONFIG_DEFAULTS_XILINX_UCLINUX_AUTO 1
followed by an #undef CONFIG_DEFAULTS_XILINX_UCLINUX_AUTO
This means that CONFIG_DEFAULTS_XILINX_UCLINUX_AUTO is not defined - can
this be right? I tried removing the #undef in this file after running
menuconfig (but before the make dep step). This did not seem to have
any effect.
Any suggestions would be welcome. Thanks
Rod Campbell
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/