All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Smolik <marvin@mydatex.cz>
To: sparclinux@vger.kernel.org
Subject: Re: TILO and others
Date: Tue, 05 Sep 2006 14:26:48 +0000	[thread overview]
Message-ID: <44FD8928.4090808@mydatex.cz> (raw)
In-Reply-To: <44FC960D.3040508@mydatex.cz>

Hamish Greig napsal(a):
> On Tuesday 05 September 2006 17:45, Rene Rebe wrote:
> 
>>I used elftoaout + the piggyback helper in arch/sparc64.
> 
> 
> I too have successfully used these two for netbooting.
> hgg
> -
> To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Oh great info, but I spend three nights to get it work and haven't success.

TILO:
I use silo 1.4.13 compile without problem. I take compiled kernel which boot OK 
on my Ultra 5 and create small cramfs ramdisk with bash as init in /sbin + 
library. root.img is ~1.2M.

I run



./tilo/tilo.sh vmlinux ram_image.gz
Converting vmlinux (sun4u) to a.out:
PT 0 Entry: Loadable to 0x400000[0x3c2c30] from 0x0[0x354086] align 0x100000
PT 1 Entry: unknown
Compressing vmlinux.raw:
vmlinux.raw:     54.6%
Sizes (sun4u):
   raw size     = 3473542
   packed size  = 1575482
   root address = 00000000007c2c30
Root image packed size = 1085472
WARNING: Kernel for Sun4c/m/d not specified
Images are large. Will load on machines with at least 5M mapped by PROM only
TILO size = 2678102

But when I boot after loading boot stops with Illegal instruction :-(
If ram_image is smaller system boots but I need approx 2M is it possible ?


PIGGYBACK:

/usr/bin/piggyback vmliuz.aout sys_map.gz ram_image
Could not determine start and end from System.map
And nothing else. I look to piggyback.c and see then it search end statement not 
_end. I modify this but get sigsegv.

  /usr/local/bin/piggyback vmlinuz.aout System.map root.img
Start : 0x404000 End: 0x722ca4
i:137032
lseek: Invalid argument
lseek 2: Illegal seek

I search over whole world and nothing. I have large experience with i86 netboot 
but with Sun I start now :-).

		Thanks
			Dan

















  parent reply	other threads:[~2006-09-05 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-04 21:09 TILO and others Daniel Smolik
2006-09-05  7:45 ` Rene Rebe
2006-09-05 11:22 ` Hamish Greig
2006-09-05 14:26 ` Daniel Smolik [this message]
2006-09-06 14:11 ` Daniel Smolik
2006-09-07  1:39 ` Hamish Greig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44FD8928.4090808@mydatex.cz \
    --to=marvin@mydatex.cz \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.