Google
  Web www.spinics.net

Re: 2.6.10 and LPD7A400

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


On Tue, Feb 01, 2005 at 10:52:43AM +0100, Sebastian Haas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Marc Singer schrieb:
> | On Mon, Jan 31, 2005 at 04:37:39PM +0100, Sebastian Haas wrote:
> |>Gianluca Renzi schrieb:
> |>| Have you enabled the serial console in the command line parameters into
> |>| blob?
> |>| My cmd line has:
> |>|
> |>| console=ttyAM1
> |>| terminal_speed = 115200
> |>| download_speed = 115200
> |>Blob is working fine, i can load the kernel via serial. "status"
> |>
> |>| Watch out the defconfig file!
> |>I've attached my .config.
> |>
> |>In init/main.c:start_kernel() i've added (after variable definitions):
> |>*((unsigned long *)0x71600000) = 0x00000000UL;
> |
> |
> |>That should be disable the status1, status2 and gpio1 led's, or isn't?
> |>Cause the led's don't switch off. So i think it's possible, that
> |>start_kernel() is never called.
> |
> |
> | I don't think that will work.  IIRC, the MMU is on by the time the
> | kernel gets to this point.  The LEDs are not going to be available at
> | that address.
> Is there an another way to find out if start_kernel() has been called?

Buy a JTAG emulator capable of debugging.

> | What is the command line you're passing to the kernel?
> Commandline? How can i see which commandline is passed to the kernel and
> how can i change it?

The place to start is here 

  <http://projects.buici.com/arm/lpd7a40x>

> | I am discontinuing support for BLOB.  I recommend APEX, instead.
> Okay i've changed to apex. Still the same problem. I've loaded the
> compressed kernel via "xreceive 0xc0008000"
> 
> I've appended the complete output of an apex session with a compressed
> kernel_image. I switch on the debug output in
> "arch/arm/boot/compressed/head.S" to see the memory dump.
> 
> The commandline is the default:
> console=ttyAM1 root=/dev/hda1 mtdparts=lpd7a40x_norflash:2m(boot),-root
> 
> best regards,
> Sebastian Haas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFB/1FqpqRB8PJG7XwRAnJXAJwOV29kaZAIZIV6hEJWPL5fhtbfKACfam0d
> EuFO9riMnXxkJgvcbd+R618=
> =txam
> -----END PGP SIGNATURE-----

> APEX Boot Loader 1.0.10 -- Copyright (c) 2004 Marc Singer
> 
> APEX comes with ABSOLUTELY NO WARRANTY.  It is free software and you
> are welcome to redistribute it under certain circumstances.
> Refer to the source the COPYING for details.
> 
>   apex => mem:0xc0200000#0x4660
>   env  => nor:128k#64k
>   CPLD revision 0x0
> 
> # copy nor:256k#1536k 0xc0008000
> Unable to open target nor:256k#1536k
> Error -1 (<NULL>)

This error means that the flash driver wasn't included in your build
of APEX.

> apex> xreceive 0xc0008000
> C
> apex> boot

Try this

  apex> boot console=ttyAM1,115200

> Booting kernel at 0xc0008000...
> Uncompressing Linux................................................................... done, booting t.
> 41029220:00000185:C0005078
> C0119A24-C0314324>C0008000
> 71600000
> C0314324
> C0008000: E1A0C000 E3A000D3 E121F000 EB000048  E33A0000 03A00070 0A000043 EB000058
> C0008020: E3370000 03A00061 0A00003F EB000023  E28FE028 E28AF00C C0008080 C01CE000
> C0008040: C01CE000 C02028A0 C0221734 C020377C  C020374C C01D0FA4 C01D0000 00000000
> C0008060: E51FE030 E3800002 EE010F10 EE103F10  E1A03003 E1A03003 E1A0F00E 00000000
> C0008080: E24F204C E89221FC E1520003 11530004  1492B004 1483B004 1AFFFFFB E3A0B000
> C00080A0: E1540005 3484B004 3AFFFFFC E5869000  E5871000 E3C02002 E8880005 EA0001A7
> C00080C0: E24F40C8 E2444901 E1A00004 E3A03000  E2802901 E4803004 E4803004 E4803004
> C00080E0: E4803004 E1300002 1AFFFFF9 E1A02A2F  E0883A02 E7843102 E2840A03 E5A03000

> -------------------------------------------------------------------
> Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux