Re: booting linux on arm problem



On Oct 8, 8:37 pm, Juergen Beisert <jbeis...@xxxxxxxxxxxx> wrote:
Wei Wang wrote:
My boot code is located at addr 0x0 and kernel at 0x8000. The boot
code initialize uart and print out OK on a terminal correctly, but
when it jumps to 0x8000 to start the kernel, the PC was set to
0xEA00009A, which is nowhere in my memory map and caused read abort.
The boot code and kernel is supposed to run in the first 64MB DRAM
space. I checked the kernel code and found that the kernel died at the
vprintk subroutine, but I couldn't pin down the actual problem, I
suppose the kernel code should be all right, the only problems should
remain with my boot code. The only printout in terminal after OK was
<<5> which seemed right compared with successful boots. Just wondering
what could be causing this probelm I am seeing, many thanks!

-Wei

What is your memory map? Means to what address ranges are your flash and RAM
mapped?

Juergen

Flash mapped from address 0x0 when booting to 0x4000_0000 after
booting (16MB).
SRAM at 0x4800_0000(32MB).
SDRAM mapped from 0x7000_0000 when booting to 0x0000_0000 after
booting (64MB), and both the boot code and kernel reside here at
address 0x0000_0000.

.



Relevant Pages

  • Re: booting linux on arm problem
    ... On Oct 12, 9:23 pm, karthikbalaguru ... The boot code and kernel is supposed to run in the first 64MB DRAM ... SDRAM mapped from 0x7000_0000 when booting to 0x0000_0000 after ...
    (comp.os.linux.embedded)
  • Re: [patch] crashdump: fix undefined reference to `elfcorehdr_addr
    ... A minor difficulty is working out where to initialise elfcorehdr_addr. ... There are some kernel bits, ... take special action if they are booting after a kexec on panic (Generally we ... are referring it to booting into kdump kernel) and that's why the notion ...
    (Linux-Kernel)
  • Re: FC4 2.6.14 boot problems
    ... > Booting 'Fedora Core ' ... > Filesystem type is ext2fs, ... OK, booting the kernel. ...
    (Fedora)
  • Re: 2.6.24-rt1: timing problems (was [git pull] x86/hrtimer/acpi fixes)
    ... configuration and dmesg output booting with idle=poll, ... I'll try but it will take me a while to figure git and do a package ... if you want to try a vanilla kernel package then pick up the kernel ... As in the case with an old timing bug, ...
    (Linux-Kernel)
  • Re: unknown command at bootstrap on 7-STABLE
    ... If I let it boot the kernel, the system doesn't show all the booting ... When I type reboot to reboot the machine, ... When there is a major ABI change I install from scratch, rebuild my apps, ... I wouldn't worry about the kernel as the kernel hasn't been loaded the ...
    (comp.unix.bsd.freebsd.misc)