public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] How to let i386 pc boot from Hdd
@ 2001-03-27  6:16 Roman Khvatov
  2001-03-27 10:54 ` Jonathan Larmour
  0 siblings, 1 reply; 6+ messages in thread
From: Roman Khvatov @ 2001-03-27  6:16 UTC (permalink / raw)
  To: ecos-discuss

----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 16

Hi!

> Hi, Roman
> 
> Can you elaborate?  Like John, I am also encountering this problem.  I am 
> thinking of putting the application, data etc into the same harddisk and get it 
> to boot up and run.

I'd got a loaders, but archive size of it (121K) seems to me too large to post it through
mail list, so if anyone can take this archive and place it on some ftp or web site I'll
appreciate this.

Just for now I can only post wallclock device driver for PC :)

Roman.

----------
X-Sun-Data-Type: default-app
X-Sun-Data-Name: wallclock-pc.tgz
X-Sun-Encoding-Info: uuencode
X-Sun-Content-Lines: 71

begin 600 wallclock-pc.tgz
M'XL( ,F]OSH  ^U:;7/:2!+.UZ,J_V&67'QPD6W)QI"8.%4$2$PE!A>0N/))
M):0!M!82IQ>,R^O[[=<],WH%VW%.]F[5JEE7I)F>9_IM>GI&:]"5M__B:8G4
MY,;1$7E!"&G4:_BO(M=D]BY(AIZ#HT;CL'[4.(+W^F&]_H(</;%<C +/UUQ"
MGF.JOR(9Z/\KS;)TR]$OGR82'N/_NG*$W8>'M<+_ST$9_R_U)PB!QZW_!G8W
M:D>%_Y^#-OVO!ZY+;3_'.'B\_P]J!XW"_\]!=_M?-ZR<8N#Q_C]4&DKA_^>@
M^_T?=:A+?0\:?FT.19;KM=J=_F_4H!']#[_:84V![OIA _*_G*^JV^EO[O]7
MY"0'*KTJO>+.S$9,W$/;CA=WDZGCDO,V,5QS15VB._;4G 6NYIN.30S-U]C 
M?&1#:@_.?PQ[GT_''[N?>WUL">7*@P!K]^?I0:SQG*)%?%B&'G&FQ)^;'IF:
M%B6:2XD73'ZGND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$?D5,_;FPA;I%]:/
ME%93=,!REM+ZB0Y8T%)2-=$,2UJ*]0I!^F,IJ9)HAA4M<752"!=?)'G+8L9-
M,:6)</(CSI$/$XN:3X&M\YK<I?\)3!>_3XD+FW#U[(HC$Q3;>R+6ABS\^/<R
M.V!W%,XT3/_@#&V)%QB>B5=PRKN&O(MG,X7(\C'[#V#PP!! !CH\ +^VX24J
MZH^/,1_-KU0!5\$PQF#%^ AWG'$SBH;?,CDLSB2[2F*IJ!Z[S547EYR-^4(*
MHU'BX2J%$2W%H2^15+ P3^#A86I#B8F?1T?=LSO^#PID1.DW-,2P?5#%DQM9
MPI\"/UP"N/UEEW,DT2M< <([(^ISU_"C#VFYLP!OL?%.YC$^VBJZEW8.23@2
MVCPBU$@T<T,+,R^8E='&DJ@/)"$3TRYR$M9T%024R X'V!$(.QQBAV/LA" [
M'(6GD<B&Y(3<\ Y),+)A#(+C(?@#EK4-B#,\S=[OZS_[\TE!!1544$$%%510
=00455%!!!1544$$%%510007])>E_L&%'S@!0  #O
 
end

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

* Re: [ECOS] How to let i386 pc boot from Hdd
  2001-03-27  6:16 [ECOS] How to let i386 pc boot from Hdd Roman Khvatov
@ 2001-03-27 10:54 ` Jonathan Larmour
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Larmour @ 2001-03-27 10:54 UTC (permalink / raw)
  To: Roman Khvatov; +Cc: ecos-discuss

Roman Khvatov wrote:
> 
> Just for now I can only post wallclock device driver for PC :)

It would be quite good if we could bring this into the main eCos sources.
But to do that, we need a copyright assignment. Can I ask you to read
http://sources.redhat.com/ecos/faq.html#contrib_assign and send us an
assignment form, assuming the work is all your own.

Thanks for contributing back!

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

* Re: [ECOS] How to let i386 pc boot from Hdd
@ 2001-03-26  6:32 Roman Khvatov
  0 siblings, 0 replies; 6+ messages in thread
From: Roman Khvatov @ 2001-03-26  6:32 UTC (permalink / raw)
  To: ecos-discuss, tcheewan

Hi!

> 
> Can you elaborate?  

Yes.

> Like John, I am also encountering this problem.  I am 
> thinking of putting the application, data etc into the same harddisk and get it 
> to boot up and run.

This loaders use a compressed image of system to load, so a full pack consists of 4 programs -
2 loaders (MS-DOS and MBR mode), image packer (slightly modified example from LZO package) and
formatter (to put MBR mode loader in its place and setup file system on HDD, if need to).

All of this made with BC3.1 and TASM and use LZO library, so I don't know about availability of
this tool to build a programs :(

But sources will be available in any case :) (May be tomorrow)

Roman

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

* Re: [ECOS] How to let i386 pc boot from Hdd
  2001-03-23  7:08 Roman Khvatov
@ 2001-03-23 17:00 ` Teng Chee Wan Philip
  0 siblings, 0 replies; 6+ messages in thread
From: Teng Chee Wan Philip @ 2001-03-23 17:00 UTC (permalink / raw)
  To: Roman Khvatov; +Cc: ecos-discuss

Hi, Roman

Can you elaborate?  Like John, I am also encountering this problem.  I am 
thinking of putting the application, data etc into the same harddisk and get it 
to boot up and run.

Thanks a lot.

regards,
Philip Teng
DSO National Labs

Quoting Roman  Khvatov <roman@lab.sun.mcst.ru>:

> Hi!
> 
> > Hi,
> > 
> > I'd like to let i386 pc boot from hard disk drive.
> > I have an image of ecos application that can boot from floppy.
> > Can I use this image to boot from hdd?
> 
> No. You have to modify the boot device parameters in boot procedure
> (device number from 0 to 80h, sectors per track and head counters)
> After this you can boot from one particular HDD, which parameters you
> use to modify boot code.
> 
> If you need to boot not only from one HDD and use it for file system
> too
> you need to rewrite boot procedure completly or use some external boot
> utility.
> 
> Roman.
> 
> PS. I've made 2 such utility - one for boot eCos application from
> MS-DOS,
> and second to boot eCos application from MBR (application still must
> be
> an MS-DOS file).
> 

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

* Re: [ECOS] How to let i386 pc boot from Hdd
@ 2001-03-23  7:08 Roman Khvatov
  2001-03-23 17:00 ` Teng Chee Wan Philip
  0 siblings, 1 reply; 6+ messages in thread
From: Roman Khvatov @ 2001-03-23  7:08 UTC (permalink / raw)
  To: ecos-discuss

Hi!

> Hi,
> 
> I'd like to let i386 pc boot from hard disk drive.
> I have an image of ecos application that can boot from floppy.
> Can I use this image to boot from hdd?

No. You have to modify the boot device parameters in boot procedure
(device number from 0 to 80h, sectors per track and head counters)
After this you can boot from one particular HDD, which parameters you
use to modify boot code.

If you need to boot not only from one HDD and use it for file system too
you need to rewrite boot procedure completly or use some external boot
utility.

Roman.

PS. I've made 2 such utility - one for boot eCos application from MS-DOS,
and second to boot eCos application from MBR (application still must be
an MS-DOS file).

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

* [ECOS] How to let i386 pc boot from Hdd
@ 2001-03-23  3:03 John
  0 siblings, 0 replies; 6+ messages in thread
From: John @ 2001-03-23  3:03 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hi,

I'd like to let i386 pc boot from hard disk drive.
I have an image of ecos application that can boot from floppy.
Can I use this image to boot from hdd?
I use
  dd conv=sync if=hello.bin of=/dev/hdb
to transfer boot image.
But fail to boot.
Thanks in advance.

----
Á»¨­õ
John Hsieh
µo²{ªÌ°ê»ÚªÑ¥÷¦³­­¤½¥q
iMining Technology Co., Ltd.
john@imining.com.tw
TEL: 886-2-27235122
FAX: 886-2-27232287
www.imining.com.tw

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

end of thread, other threads:[~2001-03-27 10:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-27  6:16 [ECOS] How to let i386 pc boot from Hdd Roman Khvatov
2001-03-27 10:54 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2001-03-26  6:32 Roman Khvatov
2001-03-23  7:08 Roman Khvatov
2001-03-23 17:00 ` Teng Chee Wan Philip
2001-03-23  3:03 John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).