Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.embedded > #75

Re: Kernel for ARM.

From zorroslade <rlimlaw@gmail.com>
Newsgroups comp.os.linux.embedded
Subject Re: Kernel for ARM.
Date 2012-01-20 10:46 -0800
Organization http://groups.google.com
Message-ID <60995fa1-e5a3-413e-aff7-8dd8b9777384@j14g2000vba.googlegroups.com> (permalink)
References <4f004452$0$1205$65785112@news.neostrada.pl> <4f05ca71$0$1381$4fafbaef@reader1.news.tin.it> <4f0ab94b$0$1188$65785112@news.neostrada.pl>

Show all headers | View raw


On Jan 9, 4:54 am, "Andrzej W." <awa_wp.a_to_wytn...@wp.pl> wrote:
> W dniu 2012-01-05 17:06, Helix pisze:
>
> > This is a typical problem related to a wrong console kernel parameter.
> > Please pastebin [1] your .config file and your u-boot printenv
> > See also:
>
> Hi,
>
> U-boot parameters for kernel are probably fine, because one kernel
> starts without trouble another prints garbage.
>
>
>
>
>
>
>
>
>
> > CRC ok loading custom env
>
> > U-Boot 1.2.0 (Aug 18 2010 - 12:16:10)- 221 Telit
>
> > DRAM:  64 MB
>
> > Bank #1
> > Flash:NAND Numonyx NAND01G-B2C 128MB 1.8V 8-bit
> > Hardware ECC (ECC data size = 512 bytes)
> > Nb min erasable unit:   1024
> > min erasable Size: 131072
> > Size=134217728 bytes
> > Logical address: 0x40000000
> > No bad block detected
> > Area 0: 40000000 to 403BFFFF (RO)  Primary Bootstrap
> > Area 1: 403C0000 to 4043FFFF (RO)  U-Boot code
> > Area 2: 40440000 to 404BFFFF (RO)  U-Boot Environment
> > Area 3: 404C0000 to 407BFFFF       User Area 1
> > Area 4: 407C0000 to 47FFFFFF       User Area 2
>
> > usbser: usb device port connected, initializing usb console... done.
> > usbser: please disconnect and reconnect the usb cable... timeout expired!
> > usbser: usb console disabled
> > In:    serial
> > Out:   serial
> > Err:   serial
> > Hit any key to stop autoboot:  0
> > U-Boot> printenv
> > bootdelay=3
> > baudrate=115200
> > AutoRamSizeCfg=ON
> > AutoLinuxEnvCfg=ON
> > bootargs=console=ttyS0,115200 mem=64M ver=0x448000 icofat=0x40400 rootfstype=ext
> > 3 rootdelay=5 root=/dev/mmcblk0p2 rw mtdparts=at91_nand:7936k(ARMboot)ro,-@7936k
> > (root)
> > bootcmd=cp.b 0x404c0000 0x20200000 0x110fb4; bootm 0x20200000;
> > stdin=serial
> > stdout=serial
> > stderr=serial
>
> > Environment size: 932/32764 bytes
> > U-Boot>
>
> --
> Best Regards,
> Andrzej.

In your board specific files ( linux_../arch/arm/mach-at91/
board_xxx,c), you have to enable the debug uart.

// dbg uart is uart 0
at91_register_uart(0,0,0); // no flow control
at91_set_serial_console(0);

Make sure that you are using the right uart.

z

Back to comp.os.linux.embedded | Previous | NextPrevious in thread | Find similar


Thread

Kernel for ARM. "Andrzej W." <awa_wp.a_to_wytnij.@wp.pl> - 2012-01-01 12:32 +0100
  Re: Kernel for ARM. Lew Pitcher <lpitcher@teksavvy.com> - 2012-01-01 11:22 -0800
  Re: Kernel for ARM. Dave <noone$$@llondel.org> - 2012-01-01 21:32 +0000
  Re: Kernel for ARM. Helix <hhhhh@hhhh.hh> - 2012-01-05 17:06 +0100
    Re: Kernel for ARM. "Andrzej W." <awa_wp.a_to_wytnij.@wp.pl> - 2012-01-09 10:54 +0100
      Re: Kernel for ARM. zorroslade <rlimlaw@gmail.com> - 2012-01-20 10:46 -0800

csiph-web