Booting on xo-1.75 - load and go?

2011-06-15 Thread Martin Langhoff
We currently boot on the 1.75 boards with an olpc.fth that dixit

  load last:\vmlinuz
  go

Attempting boot int:\linuz does not work -- and from
http://wiki.laptop.org/go/Forth_Lesson_12#Manual_Booting I gather that
something in the decompression or preparing for execution stages
something goes amiss.

Have we got any notes on what's broken here?

Finally, what are the semantics of 'last'? I'm not familiar with it,
and google ain't help.


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Chris Ball
Hi,

On Wed, Jun 15 2011, Martin Langhoff wrote:
 We currently boot on the 1.75 boards with an olpc.fth that dixit

   load last:\vmlinuz
   go

 Attempting boot int:\linuz does not work -- and from
 http://wiki.laptop.org/go/Forth_Lesson_12#Manual_Booting I gather that
 something in the decompression or preparing for execution stages
 something goes amiss.

 Have we got any notes on what's broken here?

 Finally, what are the semantics of 'last'? I'm not familiar with it,
 and google ain't help.

I've been using boot int:\vmlinuz for all of my 1.75 kernel work, and
it's been working fine.  What do you see on serial?

last:\ maps to whichever device the olpc.fth was loaded from, so that
you can write an olpc.fth that doesn't need to know ahead of time
whether it's going to be put on an SD card or a USB stick or whatever.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Martin Langhoff
On Wed, Jun 15, 2011 at 2:24 PM, Chris Ball c...@laptop.org wrote:
 I've been using boot int:\vmlinuz for all of my 1.75 kernel work, and
 it's been working fine.  What do you see on serial?

Hm, you're right... then it's PEBKAC when I am fiddling with olpc.fth
and trying to fiddle with ramdisks and boot-file.

 last:\ maps to whichever device the olpc.fth was loaded from

that's handy!



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Martin Langhoff
On Wed, Jun 15, 2011 at 5:09 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Wed, Jun 15, 2011 at 2:24 PM, Chris Ball c...@laptop.org wrote:
 I've been using boot int:\vmlinuz for all of my 1.75 kernel work, and
 it's been working fine.  What do you see on serial?

 Hm, you're right... then it's PEBKAC when I am fiddling with olpc.fth
 and trying to fiddle with ramdisks and boot-file.

I was doing
 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22  expand$ to boot-file
boot int:\vmlinuz

and I should have been saying
 root=/dev/mmcblk0p2 console=ttyS2,115200 console=tty0 loglevel=9
rootwait expand$ to boot-file

BTW, what's behind the line below?

   d4282c08 l@ 80. invert and d4282c08 l!



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Booting on xo-1.75 - load and go?

2011-06-15 Thread Chris Ball
Hi,

On Wed, Jun 15 2011, Martin Langhoff wrote:
 d4282c08 l@ 80. invert and d4282c08 l!

It was necessary to avoid framebuffer tearing on A1, but I expect Mitch
now does that by default.  I had it in olpc.fth for machines that hadn't
got an OFW upgrade yet, is likely safe to remove.

- Chris.
-- 
Chris Ball   c...@laptop.org   http://printf.net/
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel