Hi Greg,

Yes, I have simpleinit enabled and kernel command line is "console=ttyS0".

My board has only one serial port connecting with the host pc. Firsly, I use arm-elf-gcc 3.4.3 and got error:

/*------------------------------------------------------------------------------*/
Load /sbin/init: TEXT=2a0040-2a97e0 DATA=2a97e4-2ab394 BSS=2ab394-2bcde4
BINFMT_FLAT: reloc outside program 0x554e47 (0 - 0x1cda4/0x97a0), killing init
/*------------------------------------------------------------------------------*/

After I switch to the toolchain with arm-linux-gcc 3.4.4, reloc error is solved, but console no response at all from userland applications.

/*----------------------kernel output-------------------------------------------*/
BINFMT_FLAT: Loading file: /sbin/init
Mapping is 2a0000, Entry point is 44, data_start is 96a0
Load /sbin/init: TEXT=2a0040-2a96a0 DATA=2a96a4-2ab254 BSS=2ab254-2bcca4
start_thread(regs=0x1b3f24, entry=0x2a0044, start_stack=0x2bffb0)

BINFMT_FLAT: Loading file: /bin/sh
Mapping is 2e0000, Entry point is 44, data_start is ee80
Load /bin/sh: TEXT=2e0040-2eee80 DATA=2eee84-2f1964 BSS=2f1964-2f2ec4
start_thread(regs=0x29ffb0, entry=0x2e0044, start_stack=0x2fff98)

BINFMT_FLAT: Loading file: /bin/sh
Mapping is 2e0000, Entry point is 44, data_start is ee80
Load /bin/sh: TEXT=2e0040-2eee80 DATA=2eee84-2f1964 BSS=2f1964-2f2ec4
start_thread(regs=0x313fb0, entry=0x2e0044, start_stack=0x2fff90)

BINFMT_FLAT: Loading file: /bin/sh
Mapping is 2e0000, Entry point is 44, data_start is ee80
Load /bin/sh: TEXT=2e0040-2eee80 DATA=2eee84-2f1964 BSS=2f1964-2f2ec4
start_thread(regs=0x313fb0, entry=0x2e0044, start_stack=0x2fff98)

BINFMT_FLAT: Loading file: /bin/sh
Mapping is 320000, Entry point is 44, data_start is ee80
Load /bin/sh: TEXT=320040-32ee80 DATA=32ee84-331964 BSS=331964-332ec4
start_thread(regs=0x307fb0, entry=0x320044, start_stack=0x33ff98)
/*-----------------------------------------------------------------------------*/

I suspect that my kernel/uClib setting may be wrong;
or I didn't create the stable userland application like "init" and "sh";

Thanks,
Shuanglin




Greg Ungerer wrote:


Hi Shuanglin,

Shuanglin Wang wrote:

I think I meet the similar problem on my ARM946E-S board. My toolchain is gcc 3.4.4 and uClinux is the uClinux-dist-20070130 from uclinux official website.

My question is about console setup. What should I do to make console work for userland applications? I prefer using "core applications->enable console shell" .


That is ok. Do you have simpleinit enabled too?

In any case what is the kernel command line?
Do you have a "console=" option on it?

Regards
Greg



Thanks in advance.

Shuanglin


Greg Ungerer wrote:

Hi Srikanth,

Srikanth Chavali wrote:

Hi Greg,
Just figured out that ADI Engineering is using uClinux-dist.



What version?

I looks like a console setup problem...

Regards
Greg



srikanth chavali

On 5/10/07, *Greg Ungerer* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Srikanthn

    Srikanth Chavali wrote:
     >    I compiled ( 2.6.x kernel) and loaded the zImage and
    ramdisk.gz on my
     > board with IXP425. The board seems to be in the process of
    loading the
     > kernel when it stops after the messages shown below.

    Are you using the uClinux-dist, or something else?
    If yes, what version?

    Regards
    Greg



> I googled and found people facing similar issues. I ensured that
    i had
> CONFIG_FPE_NWFPE=y and CONFIG_FPE_FASTFPE is not set in my kernel
    configs.
     >
     > Any help would be greatly appreciated.
     >
     > Regards,
     >
     > srikanth chavali
     >
     > Attached are the messages:
     >
     >  Intel/Sharp Extended Query Table at 0x010A
     >  Intel/Sharp Extended Query Table at 0x010A
     >  Intel/Sharp Extended Query Table at 0x010A
     >  Intel/Sharp Extended Query Table at 0x010A
     > Using buffer write method
     > cfi_cmdset_0001: Erase suspend on write enabled
> Searching for RedBoot partition table in IXP4XX-Flash.0 at offset
    0xfe0000
     > 3 RedBoot partitions found on MTD device IXP4XX-Flash.0
     > Creating 3 MTD partitions on "IXP4XX-Flash.0":
     > 0x00000000-0x00060000 : "RedBoot"
     > 0x00fe0000-0x00fff000 : "FIS directory"
> mtd: partition "FIS directory" doesn't end on an erase block -- force
     > read-only
     > 0x00fff000-0x01000000 : "RedBoot config"
     > mtd: partition "RedBoot config" doesn't start on an erase block
    boundary
     > -- forc
     > e read-only
     > mice: PS/2 mouse device common for all mice
     > i2c /dev entries driver
     > TCP bic registered
     > NET: Registered protocol family 1
     > NET: Registered protocol family 17
     > RAMDISK: Compressed image found at block 0
     > VFS: Mounted root (ext2 filesystem) readonly.
> Freeing init memory: 96K <------------------------------------------
     > Nothing seems to happen after this
     > although it does'nt look like the system is frozen.
     >
     > --
     > srikanth chavali
     >
     >
     >
------------------------------------------------------------------------
     >
     > _______________________________________________
     > uClinux-dev mailing list
     > uClinux-dev@uclinux.org <mailto:uClinux-dev@uclinux.org>
     > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
    <http://mailman.uclinux.org/mailman/listinfo/uclinux-dev>
     > This message was resent by uclinux-dev@uclinux.org
    <mailto:uclinux-dev@uclinux.org>
     > To unsubscribe see:
     > http://mailman.uclinux.org/mailman/options/uclinux-dev
    <http://mailman.uclinux.org/mailman/options/uclinux-dev>

    --
------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Secure Computing Corporation PHONE: +61 7 3435
    2888
825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
    _______________________________________________
    uClinux-dev mailing list
    uClinux-dev@uclinux.org <mailto:uClinux-dev@uclinux.org>
    http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
    <http://mailman.uclinux.org/mailman/listinfo/uclinux-dev>
    This message was resent by uclinux-dev@uclinux.org
    <mailto:uclinux-dev@uclinux.org>
    To unsubscribe see:
    http://mailman.uclinux.org/mailman/options/uclinux-dev
    <http://mailman.uclinux.org/mailman/options/uclinux-dev>




--
srikanth chavali


------------------------------------------------------------------------

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to