public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] more booting from ix86 floppy
@ 2001-09-24  2:31 Kåre Särs
  2001-09-24  9:04 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Kåre Särs @ 2001-09-24  2:31 UTC (permalink / raw)
  To: ecos-discuss

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

Hi

I have used RedBoot and GDB to run and debug a program that uses more than 
640kb of ram, and now I want to run this program directly from a floppy.

When I run the program with RedBoot CYG_HAL_STARTUP is set to RAM (for the 
program), and I get access to extended memory, but when I want to boot from a 
floppy I have to set CYG_HAL_STARTUP to FLOPPY and then I loose the extended 
memory.

FLOPPY->mlt_i386_pc_floppy.ldi->only 655360 bytes ram

I know I can still use the extended memory but not with malloc.

Is there an easy way to boot directly from the floppy and still have the 
extended memory.

Thankyou!

    KÃ¥re

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

* Re: [ECOS] more booting from ix86 floppy
  2001-09-24  2:31 [ECOS] more booting from ix86 floppy Kåre Särs
@ 2001-09-24  9:04 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-09-24  9:04 UTC (permalink / raw)
  To: kare.sars; +Cc: ecos-discuss

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

Kåre Särs wrote:
> 
> Hi
> 
> I have used RedBoot and GDB to run and debug a program that uses more than
> 640kb of ram, and now I want to run this program directly from a floppy.
> 
> When I run the program with RedBoot CYG_HAL_STARTUP is set to RAM (for the
> program), and I get access to extended memory, but when I want to boot from a
> floppy I have to set CYG_HAL_STARTUP to FLOPPY and then I loose the extended
> memory.
> 
> FLOPPY->mlt_i386_pc_floppy.ldi->only 655360 bytes ram
> 
> I know I can still use the extended memory but not with malloc.
> 
> Is there an easy way to boot directly from the floppy and still have the
> extended memory.

You could add another memory region called "ram2" or something using the
Memory layout Tool, and then create a user-defined section within that
called "heap2". It should be used by malloc by default.

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] 2+ messages in thread

end of thread, other threads:[~2001-09-24  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-24  2:31 [ECOS] more booting from ix86 floppy Kåre Särs
2001-09-24  9:04 ` Jonathan Larmour

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