[U-Boot-Users] Re: 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@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? :)

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.
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.
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

Wolfgang,
thanks for clarifcations.
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?
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

In message 005801c4d917$5c647860$1000000a@araav you wrote:
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.
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.
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

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 ,
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

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:
- tftp : download linux kernel
- bootm : boot kernel from RAM
- using NFS : NFS ROOT = /opt/eldk/ppc_82xx
- 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.
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
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

In message 1102579196.11361.17.camel@localhost.localdomain 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.
Bad inittab entry: id:3:initdefault: Bad inittab entry: pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure;
...
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
participants (4)
-
Ara Avanesyan
-
Der Herr Hofrat
-
Wolfgang Denk
-
xueming