Presenting the X1Boot Manager!

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
musa
Posts: 503
Joined: Tue Aug 23, 2011 7:58 pm

Re: Presenting the X1Boot Manager!

Post by musa »

Hi
hurray I got cfe to work or I found the right commands .
instead of
boot -elf -noints -fs=amigafs ide0.5,x1boot/boot/zimage+5.11
I use this
boot -elf -noints -fs=amigafs ide0.0,x1boot:boot/zimage+5.11
and dir is
dir -fs=amigafs ide0.0:
insted of
dir -fs=amigafs ide0.1: (my amigaboot.of partion is number 1)

and dir of x1boot is
dir -fs=amigafs ide0.0,x1boot:

:D very happy
Have a nice day to all
Peter
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 6978
Joined: Fri Mar 23, 2012 7:58 am

Re: Presenting the X1Boot Manager!

Post by xeno74 »

musa wrote: Fri May 28, 2021 2:05 pm :D very happy
Have a nice day to all
Peter
Great! :-) Thanks a lot for sharing your experiences!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 461
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Presenting the X1Boot Manager!

Post by Hypex »

musa wrote: Fri May 28, 2021 2:05 pm Hi
hurray I got cfe to work or I found the right commands .
Excellent. FYI my boot command line was this:

Code: Select all

boot -z -elf -noints -nousb -fs=amigafs ide0.1,dh12:boot/zImage-5.11
I can check my kernel boot dir with this:

Code: Select all

dir -fs=amigafs ide0.1,dh12:boot
My HDD is on the default 0.1 unit and though I would like it as first unit I never did move it as I didn't want to break my system. Given these things can be particular. I'm always getting stuck on the keyboard only working in one port when I take my X1000 out for a run but a broken AmigaOne HDD is harder to fix. :-)
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 461
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Presenting the X1Boot Manager!

Post by Hypex »

Some extra info, So I was able to boot the vmlinux-5.11 kernel directly from CFE with boot command. But it breaks from the X1Boot menu. AmigaBoot would take up some memory and when loading kernel there wouldn't be enough reserve left to hold it in memory. But AmigaBoot doesn't abort with any out of memory error.

I've confirmed that the zImage is actually a stripped kernel. So I've adjusted my kernel installer to compensate and strip it down before compressing a vmlinux image. I'm making some extra progress so should have an update soon. :-)
User avatar
xeno74
Posts: 6978
Joined: Fri Mar 23, 2012 7:58 am

Re: Presenting the X1Boot Manager!

Post by xeno74 »

Hypex wrote: Sun May 30, 2021 5:30 am I've confirmed that the zImage is actually a stripped kernel.
Yes, that's correct. ;-)

make -j4 CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc zImage

Output:

Code: Select all

  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
powerpc-linux-gnu-strip -s -R .comment vmlinux -o arch/powerpc/boot/vmlinux.strip
file vmlinux.strip

Output:

Code: Select all

vmlinux.strip: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, BuildID[sha1]=24fbed3cd662d00018c80f0430ba471c1de150e9, stripped

Code: Select all

-rwxrwxr-x 1 christian christian 38940256 Mai 31 10:21 vmlinux-5.13
-rwxrwxr-x 1 christian christian 32036432 Mai 31 10:25 vmlinux.strip
After that:

gzip -9 vmlinux.strip (max compression, from Unix)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply