On Sat, Aug 20, 2011 at 6:52 AM, Morgan Gangwere <mgangw...@cnm.edu> wrote:

> On Fri, Aug 12, 2011 at 11:22:39AM +0200, Andrea Adami wrote:
> > On Sat, Aug 6, 2011 at 11:22 PM, Morgan Gangwere <mgangw...@cnm.edu>
> wrote:
> >
> > > hi folks,
> > >
> > > ive been trying to get my new akita to boot from the NAND for some time
> > > through the kexecboot posted on theite but to no avail. heres what ive
> tried
> > > so far...
> > >
> > > - extracting the old initrds and adding the requisite kernel-cmdline
> and
> > > friends [kexecboot flails and cant find it]
> > > - getting a jffs2 frm narcissus and flashing that as initrd.bin w/
> > > kexecboot as zImage [again kexecboot wont see it...]
> > > - running the whole show from an sd card [gets somewhere but fails
> along
> > > the way]
> > > - making my own initrd.bin with mjfs.jffs2 -r rootfs/ -o initrd.bin
> > >
> > > what magic am i missing here?
> > >
> >
> >
> > Just to rule out all doubts, please do restore an original Sharp image as
> > prerequisite (original partitioning).
>
> Way ahead of you there. I flashed Cacko on it just to make sure it was all
> OK.
> It was running pdaXrom when I got it. The original owner assured me that he
> had not dinked with the partitioning.
>
> So... Original partitioning (50/50 mix / and /home) is still all there.
>

The fact you used Cacko and or pdaxrom does not exclude you have custom
partitioning.
In fact, I always repartitioned using those.


>
>
> > First two methods are ok, not error-prone.You seem to know what you are
> > doing, maybe one thing: kexecboot looks for /boot/boot.cfg and not for
> > kernel-cmdline anymore.
>
> See the "And Friends" -- I included boot.cfg and kernel-cmdline just
> because I'm too used
> to dealing with the Collie still.
>
> Painful sidenote: the "Just Busybox" build is really *JUST* BusyBox -- no
> kernel at all.
> This bummed me heavily when I was unable to find /boot/boot.cfg and such.
>
> Second Painful Sidenote: Narcissus won't generate a JFFS2 image anymore. Or
> an ext2.
>
> > We test on other clamshells regularly. FWIW akita has just a different
> > eraseblock size, nothing more.
>
> I figured as much :)
>
> I'm happily "Running" on the old 2007.12 release on NAND -- but its just so
> painful to
> not have an up-to-date version of GPE or Opie.
>
> My dmesg output shows a lot of "Bad Eraseblock Size" notes -- I'd assume
> (naiively) that this
> is benign?
>
>
I don't know...long ago I've heard about some akita having 0x04000 erasesize
like other clamshells. Would be rare.

Please post the output of cat proc/mtd. We'd expect

dev:    size        erasesize  name
mtd0: 006b0000 00020000 "Filesystem"
mtd1: 00700000 00020000 "smf"
mtd2: 003a0000 00020000 "root"
mtd3: 003f0000 00020000 "home"


You can also try using console for flashing:

Kernel:
nandlogical /dev/mtd1 WRITE 0x0E0000 0x140000 zImage.bin

Rootfs:
flash_eraseall -j /dev/mtd2
nandwrite /dev/mtd2 rootfsA.jffs2

Optionally:
flash_eraseall -j /dev/mtd3
nandwrite /dev/mtd3 rootfsB.jffs2

(using updater.sh rootfsA -> initrd.bin rootfsB -> home.bin)


Regards

Andrea




> I've tried running from Altboot on the SD card and I get a Kernel Not
> Syncing panic
> so I've just been Living With What I Have.
>
>  -- Morgan Gangwere
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> Angstrom-distro-users mailing list
> Angstrom-distro-users@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>
_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to