* Linux booting problem
@ 2003-06-14 13:14 Rakesh jagota
0 siblings, 0 replies; 2+ messages in thread
From: Rakesh jagota @ 2003-06-14 13:14 UTC (permalink / raw)
To: linuxppc-embedded
Hi all,
I am working on custom design board based on IBM405ppc, I am getting the
error message, " oops... out of memory".
Can anyone suggest me where can I find the the SDRAM size defination in the
kernel. And where are they doing the memory mapping. I have modified the
partitons in drivers/mtd/maps/redwood.c file as per our board. but couldnt
loacte anything relted to SDRAM.
In arch/ppc/boot/simple/Makefile, I could not undersatnd one thing:
whats the meaning of this line:
LD_ARGS = -T ../ld.script -Ttext 0x00800000 -Bstatic
ifeq ($(CONFIG_8260)$(CONFIG_4xx)$(CONFIG_8xx),y)
LD_ARGS := -T ../ld.script -Ttext 0x00400000 -Bstatic
endif
can anyone help me out to make it work.
Thanks & Regards,
Rakesh
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Linux booting problem
@ 2009-08-07 9:02 Sumesh Kaana
0 siblings, 0 replies; 2+ messages in thread
From: Sumesh Kaana @ 2009-08-07 9:02 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 4525 bytes --]
Hi all,
I am trying to boot linux kernel (2.6.30) on a custom built board.I am using simple ppc platform and attached are my dts file and boot log..
I've 26Mb of RAM,UART and UIC with powerpc 440x5 processor.Kernel Image size is less than 1 mb.
cgc,skybeam board is added in arch/powerpc/platforms/44x/ppc44x_simple.c
device tree file as bellow:----------------------------
/dts-v1/;
/ { model = "cgc,skybeam"; compatible = "cgc,skybeam"; #address-cells = <1>; #size-cells = <1>; dcr-parent = <&SKYBEAM_PPC>; chosen { bootargs = "console=ttyS0 root=/dev/ram"; linux,stdout-path = "/plb/serial@02080000"; } ; aliases { serial0 = &STD_UART; } ; memory { device_type = "memory"; reg = < 0x0 0x01A00000 >; } ; cpus { #address-cells = <1>; #size-cells = <0>; SKYBEAM_PPC: cpu@0 { device_type = "cpu"; #address-cells = <1>; #size-cells = <1>; reg = <0>; clock-frequency = <25000000>; compatible = "PowerPC,440", "ibm,ppc440"; d-cache-line-size = <0x20>; d-cache-size = <0x8000>; dcr-access-method = "native"; dcr-controller ; i-cache-line-size = <0x20>; i-cache-size = <0x8000>; model = "PowerPC,440"; timebase-frequency = <25000000>; } ; } ; UIC0: interrupt-controller0 { compatible = "ibm,uic-440ep","ibm,uic"; interrupt-controller; cell-index = <0>; dcr-reg = <0x1c0 0x009>; #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; }; PLB: plb { #address-cells = <1>; #size-cells = <1>; compatible = "simple-bus"; ranges ; STD_UART: serial@02080000 { device_type = "serial"; compatible = "ns16550"; reg = <0x02080000 0x00000008>; virtual-reg = <0x02080000>; clock-frequency = <125000000>; current-speed = <9600>; interrupt-parent = <&UIC0>; interrupts = <0x5 0x4>; } ; } ;} ;
boot log is as below:---------------------
zImage starting: loaded at 0x00400000 (sp: 0x004deeb0)Allocating 0x1dad84 bytes for kernel ...gunzipping (0x00000000 <- 0x0040c000:0x004dd3fc)...done 0x1c31cc bytes
Linux/PowerPC load: console=ttyS0 root=/dev/ramFinalizing device tree... flat tree at 0x4eb300Debug print:This worksDebug print:############!!!!###########Memory hole size: 0MB
Unable to handle kernel paging request for data at address 0x01a00000Faulting instruction address: 0xc0011434Oops: Kernel access of bad area, sig: 11 [#1]PREEMPT PowerPC 44x PlatformModules linked in:NIP: c0011434 LR: c010dcb0 CTR: 00000001REGS: c01bfe60 TRAP: 0300 Not tainted (2.6.30)MSR: 00021000 <ME,CE> CR: 22000024 XER: 20000000DEAR: 01a00000, ESR: 00000000TASK = c01a94b8[0] 'swapper' THREAD: c01be000GPR00: fffffff4 c01bff10 c01a94b8 01a00000 019fffff 0000000c c01958b0 00000000GPR08: 00000037 c0110000 00000042 00003fff 22000022 00000000 fffff104 00000000GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 c010d750 c01958b0GPR24: 0000000c 00000000 c01a1dfc 01a00000 c01a1dfc 00003fff 0000000c 00000000NIP [c0011434] strlen+0x4/0x18LR [c010dcb0] match_token+0x1a0/0x228Call Trace:[c01bff50] [c01962f4] free_area_init_nodes+0x48/0x3a0[c01bff80] [c0191738] paging_init+0x80/0xa0[c01bffb0] [c01909b4] setup_arch+0x1c4/0x1dc[c01bffc0] [c018c648] start_kernel+0x54/0x288[c01bfff0] [c0000200] skpinv+0x190/0x1ccInstruction dump:4d820020 7ca903a6 38a3ffff 3884ffff 8c650001 2c830000 8c040001 7c6018514d860020 4102ffec 4e800020 3883ffff <8c040001> 2c000000 4082fff8 7c632050---[ end trace 31fd0ba7d8756001 ]---Kernel panic - not syncing: Attempted to kill the idle task!Call Trace:[c01bfd40] [c0005d5c] show_stack+0x4c/0x16c (unreliable)[c01bfd80] [c002f174] panic+0xa0/0x168[c01bfdd0] [c0032eb0] do_exit+0x61c/0x638[c01bfe10] [c000b60c] kernel_bad_stack+0x0/0x4c[c01bfe40] [c000f328] bad_page_fault+0x90/0xd8[c01bfe50] [c000e19c] handle_page_fault+0x7c/0x80[c01bff10] [00000000] (null)[c01bff50] [c01962f4] free_area_init_nodes+0x48/0x3a0[c01bff80] [c0191738] paging_init+0x80/0xa0[c01bffb0] [c01909b4] setup_arch+0x1c4/0x1dc[c01bffc0] [c018c648] start_kernel+0x54/0x288[c01bfff0] [c0000200] skpinv+0x190/0x1ccRebooting in 180 seconds..
Can anyone tell what would be the problem..?
thanks,Sumesh.
Check the daily blob for the latest on what's happening around the web What goes online, stays online
_________________________________________________________________
Need a new model in your life? Sell your car fast.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F866383&_t=758314219&_r=carpoint_tagline&_m=EXT
[-- Attachment #2: Type: text/html, Size: 11208 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-07 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-14 13:14 Linux booting problem Rakesh jagota
-- strict thread matches above, loose matches on Subject: below --
2009-08-07 9:02 Sumesh Kaana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox