How to use uc53281(freescale)-EVM
thanks


--



在2009-01-05,"David McCullough" <david_mccullo...@securecomputing.com> 写道:
>
>Jivin Yuan-Lung Li lays it down ...
>> Dear DavidM,
>> I have other questions about the romfs.2.4.x.gz on the website
>> http://www.uclinux.org/pub/uClinux/utilities/armulator/
>> 
>> 1. What version of toolchain used to build the romfs.2.4.x?
>
>Almost certainly something very old.  gcc-2.95.3 based,  probably this
>one:
>
>       
> http://www.uclinux.org/pub/uClinux/arm-elf-tools/arm-elf-tools-20030314.sh
>
>> 2. What kind of vendor setting used to build the romfs.2.4.x? GDB/ARMulator
>> or GDB/ARMulator-EB?
>
>Follow the ARMulator thread in this article:
>
>       http://www.ucdot.org/archive/tb/tb20020807.shtml
>
>This was done using uClinux-dist-20020701.
>
>All the settings should be in the vendors/GDB/Armulator directory.  Edit
>config.arch to enable/disable XIP.
>
>> 3. Any other particular setting in menuconfigs to affect the romfs.2.4.x?
>> 
>> Thank you in advance for kindly replying. :-)
>
>All in the above,  sorry for a tardy response,  vacation time ;-)
>
>Cheers,
>Davidm
>
>> 2008/12/27 Yuan-Lung Li <dra...@gmail.com>
>> 
>> > Dear all,
>> > I have search the solution for this problem about 2 months...
>> > Here is my environment:
>> >
>> > Toolchain:
>> > arm-linux-tools-20070808.tar.gz fownloaded from
>> > http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20070808.tar.gz
>> >
>> > uClinux Distribution:
>> > uClinux-dist-20080808.tar.gz downloaded from
>> > http://www.uclinux.org/pub/uClinux/dist/uClinux-dist-20080808.tar.bz2
>> >
>> > Now I got stuck on the booting after /bin/init running. Seems the init
>> > launch the sash shell and then do_rc in the /etc/rc in the romfs. After
>> > first command "hostname XXXX" executed, the program counter goes some
>> > invalid place. I am using the non-XIP version of kernel. I did some trial 
>> > as
>> > below:
>> > 1. replace the first command as "ls /bin" or "cat /etc/motd", the main
>> > function of them works well but the platform dead after return.
>> > 2. I download the romfs "romfs.2.4.x" from
>> > http://www.uclinux.org/pub/uClinux/utilities/armulator/romfs.2.4.x.gz
>> >  The OS start and I see the promt!!!
>> > 3. I use the arm-linux-flthdr to check the binary in "romfs.2.4.x" every
>> > bFlt in /bin has the header below:
>> > /mnt/bin/init
>> >     Magic:        bFLT
>> >     Rev:          4
>> >     Build Date:   not specified
>> >     Entry:        0x50
>> >     Data Start:   0x3050
>> >     Data End:     0x33b0
>> >     BSS End:      0x48b0
>> >     Stack Size:   0x1000
>> >     Reloc Start:  0x33b0
>> >     Reloc Count:  0x94
>> >     Flags:        0x1 ( Load-to-Ram )
>> > 4. I also check the binaries in my romfs directory, evey bFlt in
>> > romfs/bin has the header below:
>> > romfs/bin/init
>> >     Magic:        bFLT
>> >      .....
>> >     Flags:        0x2 ( Has-PIC-GOT )
>> > 5. modifying the "vendors/config/armnommu/config.arch" to make the
>> > LDFLAGS+= -Wl,-elf2flt="-r", the build result of the romfs bFlt as below:
>> > romfs/bin/init
>> >     Magic:        bFLT
>> >     .........
>> >     Flags:        0x3 ( Load-to-Ram Has-PIC-GOT )
>> >   The romfs still made my platform dead in nasty place.
>> > 6. I have trace many discussion, some kind like "arm-linux-flthdr -r
>> > romfs/init", the result is the same as trial number 5.
>> >
>> > How can I build the romfs with the bFlt in pure "Load-to-Ram"(aka the
>> > Flags:0x1)?
>> >
>> > Many thanks for any idea and replying.
>> >
>> > Drag
>> >
>
>> _______________________________________________
>> 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
>
>-- 
>David McCullough,  david_mccullo...@securecomputing.com,   Ph:+61 734352815
>Secure Computing - SnapGear  http://www.uCdot.org   http://www.snapgear.com
>_______________________________________________
>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