public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board
@ 2004-12-03  6:40 Ara Avanesyan
  2004-12-03  7:45 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Ara Avanesyan @ 2004-12-03  6:40 UTC (permalink / raw)
  To: u-boot

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? :) 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board
  2004-12-03  6:40 [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board Ara Avanesyan
@ 2004-12-03  7:45 ` Wolfgang Denk
  2004-12-03  9:06   ` Ara Avanesyan
  2004-12-09  7:59   ` [U-Boot-Users] Problem about applications in Lite5200 Board xueming
  0 siblings, 2 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-03  7:45 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board
  2004-12-03  7:45 ` Wolfgang Denk
@ 2004-12-03  9:06   ` Ara Avanesyan
  2004-12-03  9:46     ` Wolfgang Denk
  2004-12-09  7:59   ` [U-Boot-Users] Problem about applications in Lite5200 Board xueming
  1 sibling, 1 reply; 7+ messages in thread
From: Ara Avanesyan @ 2004-12-03  9:06 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board
  2004-12-03  9:06   ` Ara Avanesyan
@ 2004-12-03  9:46     ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-03  9:46 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Problem about applications in Lite5200 Board
  2004-12-03  7:45 ` Wolfgang Denk
  2004-12-03  9:06   ` Ara Avanesyan
@ 2004-12-09  7:59   ` xueming
  2004-12-09 10:35     ` Der Herr Hofrat
  2004-12-09 11:11     ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 2 replies; 7+ messages in thread
From: xueming @ 2004-12-09  7:59 UTC (permalink / raw)
  To: u-boot

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
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Problem about applications in Lite5200 Board
  2004-12-09  7:59   ` [U-Boot-Users] Problem about applications in Lite5200 Board xueming
@ 2004-12-09 10:35     ` Der Herr Hofrat
  2004-12-09 11:11     ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 0 replies; 7+ messages in thread
From: Der Herr Hofrat @ 2004-12-09 10:35 UTC (permalink / raw)
  To: u-boot

> 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.
>
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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Re: Problem about applications in Lite5200 Board
  2004-12-09  7:59   ` [U-Boot-Users] Problem about applications in Lite5200 Board xueming
  2004-12-09 10:35     ` Der Herr Hofrat
@ 2004-12-09 11:11     ` Wolfgang Denk
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2004-12-09 11:11 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-12-09 11:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-03  6:40 [U-Boot-Users] Re: help porting u-boot for customized ixdp425 board Ara Avanesyan
2004-12-03  7:45 ` Wolfgang Denk
2004-12-03  9:06   ` Ara Avanesyan
2004-12-03  9:46     ` Wolfgang Denk
2004-12-09  7:59   ` [U-Boot-Users] Problem about applications in Lite5200 Board xueming
2004-12-09 10:35     ` Der Herr Hofrat
2004-12-09 11:11     ` [U-Boot-Users] " Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox