[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] "Found romfs @... klimit" message during kernel boot
Victor G. wrote:
> On Mon, Jul 13, 2009 at 10:57 PM, Michal
> Simek<michal.simek@xxxxxxxxxxxxx> wrote:
>> Hi,
>>
>> from my quick look I haven't seen any problem in it.
>> Please do memory test.
>> Setup u-boot -> if is working, you have no problem with memory.
>> You can run memory test inside u-boot too.
>
> I run memory test inside u-boot. It seemed to work fine the first 30
> seconds. I left it running for a while and when came back to the
> terminal, u-boot quit back to kermit. Connect command did not work
> after. And also, after that for some reason my serial-USB connector on
> /dev/ttyUSB0 disappeared and /dev/ttyUSB1 appeared. So, I had to
> re-connect with ttyUSB1.
>
>> Do grep "__log_buf" System.map
>> 0xXXXXXXXX
>>
>>
>> and then list it inside u-boot (Don't turn-off the board - just reset)
>> md 0xXXXXXXXX
>>
>> Then you can see log buffer.
>
> I have two System.map files and only one of them has "__log_buf". Why
> is u-boot/'s version missing it?
because log_buf has only linux kernel. (I don't remember exactly if u-boot has it but I registered
any discuss about).
> petalinux-dist/u-boot/System.map
> linux-2.6-x-petalogix/System.map <- "__log_buf" is at address 0x901b3df8
>
> When I md this address right after u-boot upload (without kernel
> start), I see Linux version 2.6.20, PetaLinux build, CPU info, etc.
this is correct - you should see there what you should see on console. Is there any problem with
kernel? (Kernel panic or whatever non standard?)
>
> If I upload kernel, however, using xmd as described in my previous
> post, the "klimit" message is displayed and u-boot becomes
> inaccessible. Did you want me to check this address after kernel
> loading attempt by any chance?
Workflow - load kernel via xmd, wait some time - xmd - load U-BOOT (dow u-boot),
md 0x901b3df8 to see what kernel did.
>
> ---
> With regards to dcache and icache I haven't enabled them yet. Could
> this be a problem?
You should enable it for speedup - without cache enable linux is really slooooow - maybe
your kernel is fine just you have to wait a little bit longer.
Regards,
Michal
>
> Thanks,
> Victor
> ___________________________
> 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/
>
>
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
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/