Re: [PATCH] Linux loader for OLPC

2008-04-18 Thread Bean
On Fri, Apr 18, 2008 at 10:56 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > This is the new patch which takes into account the location change of > files in kern/powerpc/ieee1275. Also, the crc part is removed, it's > better to use a separate patch. > > -- > Bean > Oh, I forget to add some fi

Re: [PATCH] Linux loader for OLPC

2008-04-18 Thread Bean
Hi, This is the new patch which takes into account the location change of files in kern/powerpc/ieee1275. Also, the crc part is removed, it's better to use a separate patch. -- Bean diff --git a/disk/ieee1275/nand.c b/disk/ieee1275/nand.c new file mode 100755 index 000..ba79faa --- /dev/null

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Sun, Apr 13, 2008 at 11:18:31PM +0800, Bean wrote: > > /* OLPC / XO laptops have three kinds of storage devices: > > > > - NAND flash. These are accessible via OFW callbacks, but: > >- Follow strange semantics, imposed by hardware constraints. > >- Its ABI

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Bean
On Sun, Apr 13, 2008 at 7:41 PM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Thu, Apr 03, 2008 at 11:19:32PM +0800, Bean wrote: > > Hi, > > > > The new patch add support for the nand flash device in OLPC. However, > > the flash use jffs2 file system, so you can't list file in it yet, but > >

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Thu, Apr 03, 2008 at 11:19:32PM +0800, Bean wrote: > Hi, > > The new patch add support for the nand flash device in OLPC. However, > the flash use jffs2 file system, so you can't list file in it yet, but > you can dump the disk with hexdump. > > This patch also include an improvement for hexdu

Re: [PATCH] Linux loader for OLPC

2008-04-13 Thread Robert Millan
On Fri, Mar 28, 2008 at 07:23:07AM +0800, Bean wrote: > Hi, > > This patch add support for the linux loader in OLPC. Just in 2 days! You're truly impressive :-) Note that the following files you modify were recently moved out of their powerpc/ directories: kern/powerpc/ieee1275/init.c kern

Re: [PATCH] Linux loader for OLPC

2008-04-03 Thread Bean
Hi, The new patch add support for the nand flash device in OLPC. However, the flash use jffs2 file system, so you can't list file in it yet, but you can dump the disk with hexdump. This patch also include an improvement for hexdump that would allow it to dump device as well as file, for example:

Re: [PATCH] Linux loader for OLPC

2008-03-31 Thread Bean
Hi, Small bug fix for the loader, now I can boot the internal linux system using the following commands: set root=nand linux (sd,1)/vmlinuz ro root=mtd0 fbcon=font:SUN12x22 initrd (sd,1)/olpcrd.img boot The root variable is used to set the bootpath. If root device is usb, it should be set to /pc

[PATCH] Linux loader for OLPC

2008-03-27 Thread Bean
Hi, This patch add support for the linux loader in OLPC. 2008-03-28 Bean <[EMAIL PROTECTED]> * conf/i386-ieee1275.rmk (pkglib_MODULES): Add _linux.mod and linux.mod. (_linux_mod_SOURCES): New variable. (_linux_mod_CFLAGS): Likewise. (_linux_mod_LDFLAGS): Likewis