help porting u-boot for customized ixdp425 board
Hi again,
and thanks all for the answers...
Well, seems i was unable to give you an idea what I really needed, pity:)
My only problem (at this stage) is regarding those nesty flash stuff. As for building, downloading, debugging etc these are pretty easy. And why really I've asked for help, coz I do not have the target board yet and i can't do any tests for now, i just want to make sure u-boot can be adapted for my target.
Ok, specific questions are:
as in my board's booting flash is different from the original ixdp and i do not keep anything in this flash do i (ok, u-boot) need to recognize it at all? why?
as my second flash (OS, fs etc) is DOC, what shell I add/modify/remove to make u-boot to understand this guy? and...
do i understand it correctly - if i want doc commands to work i need the previous step be done?
sorry if the questions are lame, i'm really noob here... |-:)
Thanks,
Ara
----- Original Message -----
From: Ara Avanesyan
To: u-boot-users at lists.sourceforge.net
Sent: Thursday, December 02, 2004 7:23 PM
Subject: help porting u-boot for customized ixdp425 board
Hi all,
I'm noob in hardware, flashes and I need some help to porting u-boot to our customized ixdp425 hardware.
This hardware contains a small CFI compliant bootable flash for u-boot (512kb) and another one 64 Mb DiskOnChip flash for OS, FS and programs.
I've read readme and the online manual. I have some basic knowledge about the things and some guesses what to do. However these are only guesses without any confirmation. I do not want go through tries and failures way.
Anybody familiar with those things please give me some advices where to start the porting or whatever might be useful...
Any help is greatly appreciated.
Thanks,
Ara
P.S.
Btw, the doc/README.ixdp is still missing. Kyle? :)
Quoted 4 lines · In message <003501c4d902$fbec8400$1000000a@araav> you wrote:
as in my board's booting flash is different from the original ixdp and i do not keep anything in this flash do i (ok, u-boot) need to recognize it at all? why?
Yes.. So that U-Boot can be updated. And that U-Boot can save the environment variables.
Quoted 2 lines
as my second flash (OS, fs etc) is DOC, what shell I add/modify/remove to make u-boot to understand this guy? and...
Configure it to use DoC.
Quoted 2 lines
do i understand it correctly - if i want doc commands to work i need the previous step be done?
Yes, as this is the natural order to get things running: one step at a time.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de 2000 pounds of chinese soup = 1 Won Ton
Wolfgang,
thanks for clarifcations.
Quoted 7 lines
Quoted 4 lines
as in my board's booting flash is different from the original ixdp and i do
not keep anything in this flash do i (ok, u-boot) need to recognize it at all? why?Yes.. So that U-Boot can be updated. And that U-Boot can save the environment variables.
I'll keep env variables in the second flash. But i forgot about the update issue. Are there any other reasons except the update/env?
Quoted 4 lines
Quoted 2 lines
as my second flash (OS, fs etc) is DOC, what shell I add/modify/remove to make u-boot to understand this guy? and...
Configure it to use DoC.
Ummm... Thanks... Any examples/howtos? :-)
Thanks,
Ara
Quoted 5 lines · In message <005801c4d917$5c647860$1000000a@araav> you wrote:
Quoted 3 lines
Yes.. So that U-Boot can be updated. And that U-Boot can save the environment variables.
I'll keep env variables in the second flash. But i forgot about the update
I wouldn't do that if I were you. Sounds like abroken design to me - it will bite you sooner or later. If you have a separate flash for U-Boot, then keep all U-Boot related stuff in this chip.
Quoted 1 line
issue. Are there any other reasons except the update/env?
Sure. It's part of a complete port, it's 10 minutes to one hour work and you will need it one day.
Quoted 2 lines
Quoted 1 line
Configure it to use DoC.
Ummm... Thanks... Any examples/howtos? :-)
How about running something like
-> grep -l _DOC include/configs/* include/configs/ADNPESC1.h include/configs/AmigaOneG3SE.h include/configs/BMW.h include/configs/CPU86.h include/configs/DK1C20.h include/configs/DK1S10.h include/configs/GEN860T.h include/configs/LANTEC.h include/configs/MIP405.h include/configs/MPC8260ADS.h include/configs/MPC8266ADS.h include/configs/PCIPPC2.h include/configs/PCIPPC6.h include/configs/PIP405.h include/configs/PM520.h include/configs/PM826.h include/configs/PM828.h include/configs/RBC823.h include/configs/ep8260.h include/configs/hymod.h include/configs/svm_sc8xx.h
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Business is like a wheelbarrow. Nothing ever happens until you start pushing.
[U-Boot-Users] Problem about applications in Lite5200 Board
In reply to Wolfgang DenkDear Wolfgang,
Sorry for bothering you again.
Last time, IDE disk can't work well. With your guide to set the IDE as
master mode, then IDE disk work well.
But now another question after I install busybox and tinylogin in
Lite5200 board. When power up, the system display message:
/*******start***********/
..........
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 76k init
Bad inittab entry: id:3:initdefault:
Bad inittab entry: pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
Bad inittab entry: pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
/********end**********/
Following is system information:
1) tftp : download linux kernel
2) bootm : boot kernel from RAM
3) using NFS : NFS ROOT = /opt/eldk/ppc_82xx
4) I install busybox and tinylogin to /opt/eldk/ppc_82xx ,
Before I install busybox and tinylogin, kernel power up normally, But after I install busybox and tinylogin to "/opt/eldk/ppc_82xx" , kernel display wrong message alert.
Could you suggest me how to handle this problem?
Thanks for your time.
Best Regards,
Xueming,zhang
[U-Boot-Users] Problem about applications in Lite5200 Board
Quoted 23 lines
Dear Wolfgang,
Sorry for bothering you again.
Last time, IDE disk can't work well. With your guide to set the IDE as
master mode, then IDE disk work well.
But now another question after I install busybox and tinylogin in
Lite5200 board. When power up, the system display message:
/*******start***********/
..........
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 76k init
Bad inittab entry: id:3:initdefault:
Bad inittab entry: pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
Bad inittab entry: pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
/********end**********/Following is system information:
1) tftp : download linux kernel
2) bootm : boot kernel from RAM
3) using NFS : NFS ROOT =/opt/eldk/ppc_82xx
4) I install busybox and tinylogin to/opt/eldk/ppc_82xx,
Quoted 4 lines
Before I install busybox and tinylogin, kernel power up normally, But after I install busybox and tinylogin to "
/opt/eldk/ppc_82xx" , kernel display wrong message alert.
this sounds like you put a sysV inittab in /etc/ and not a busybox complient one - busybox has its onwn inittab
format - see the example inittab in the busybox distribution.
hofrat
Quoted 17 lines
Best Regards,
Xueming,zhang-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
[U-Boot-Users] Re: Problem about applications in Lite5200 Board
In reply to xuemingQuoted 6 lines · In message <[email protected]> you wrote:
Sorry for bothering you again.
Last time, IDE disk can't work well. With your guide to set the IDE as
master mode, then IDE disk work well.
But now another question after I install busybox and tinylogin in
Lite5200 board. When power up, the system display message:
Sorry, but this is complretely off topic on the U-Boot mailing list.
Quoted 2 lines
Bad inittab entry: id:3:initdefault:
Bad inittab entry: pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure;
...
Quoted 4 lines
Before I install busybox and tinylogin, kernel power up normally, But after I install busybox and tinylogin to "
/opt/eldk/ppc_82xx" , kernel display wrong message alert.
Could you suggest me how to handle this problem?
Yes: RTFM.
If you want to use busybox, you are expected to read the related information, and configure your system as required by busybox. In your case, at least the /etc/inittab file must be adapted as needed for busybox. This is all documented, so please read the documentation.
And please don't post such questions on the U-Boot mailing list, where they are off topic.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Always try to do things in chronological order; it's less confusing that way.