Optimal CFE-settings for 4.1 and Linux

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
JohnFante
Beta Tester
Beta Tester
Posts: 183
Joined: Tue Sep 04, 2012 6:48 am
Location: Copenhagen, Denmark

Optimal CFE-settings for 4.1 and Linux

Post by JohnFante »

I have a feeling that my CFE settings are not optimal for Linux especially:

At the present they are:

Code: Select all

name=options
little-endian?=
ETH0_HWADDR=00:50:C2:20:DA:47
os4_commandline=DEBUGLEVEL=0 SERIAL
MENU_0_LABEL=AmigaOS 4.1
MENU_1_LABEL=AmigaOS 4.1 CD
MENU_1_COMMAND=setenv amigaboot_quiet Y ; boot -fs=iso atapi0.0:amigaboot.of
MENU_0_COMMAND=setenv amigaboot_quiet Y ; boot -fs=amigafs ide0.1:amigaboot.of
speed=set pmu -astate=A4
STARTUP=speed ; menu
MENU_3_LABEL=Ubuntu 12.04 LTS
MENU_3_COMMAND=setenv bootargs "root=/dev/sda9 raid=noautodetect" ; boot -elf -noints -fatfs cf0:vmlinux-3.13.12
framebuffer=800/600/8/0xb0000000/800
BOOT_CONSOLE=pcconsole0
CFE_VERSION=PAS-2.0.30
CFE_BOARDNAME=NEMO
CFE_MEMORYSIZE=4096
amigaboot_quiet=Y
I am especially curious about theese three. I have tried the manual but so far found no answer.

Code: Select all

os4_commandline=DEBUGLEVEL=0 SERIAL
Is this necessary and how do I remove it? I do not have a debug output setup.

Code: Select all

framebuffer=800/600/8/0xb0000000/800
Should this be: framebuffer=800/600/8/0x90000000/832

Code: Select all

CFE_MEMORYSIZE=4096
Should this be: CFE_MEMORYSIZE=8192
X5000 :-)
User avatar
xeno74
Posts: 9380
Joined: Fri Mar 23, 2012 7:58 am

Re: Optimal CFE-settings for 4.1 and Linux

Post by xeno74 »

Hi John,
JohnFante wrote:I have a feeling that my CFE settings are not optimal for Linux especially:

At the present they are:

Code: Select all

MENU_3_LABEL=Ubuntu 12.04 LTS
MENU_3_COMMAND=setenv bootargs "root=/dev/sda9 raid=noautodetect" ; boot -elf -noints -fatfs cf0:vmlinux-3.13.12

Code: Select all

MENU_8_LABEL=Lubuntu 12.04.4 Kernel 3.13.12
MENU_8_COMMAND=set pmu -astate=A4 ; setenv bootargs "root=/dev/sdb1 quiet ro splash" ; boot -elf -noints -fatfs cf0:vmlinux-3.13.12
This is a boot entry of my Lubuntu 12.04.4. "set pmu -astate=4" isn't necessary for you. It's only for my attempts. You don't need the argument "raid=noautodetect". The rest is OK. If you want a splash screen, then add "quiet ro splash' to your bootargs.
JohnFante wrote: I am especially curious about theese three. I have tried the manual but so far found no answer.

Code: Select all

os4_commandline=DEBUGLEVEL=0 SERIAL
Is this necessary and how do I remove it? I do not have a debug output setup.
Don't worry about it. It's not necessary to remove it.
JohnFante wrote:

Code: Select all

framebuffer=800/600/8/0xb0000000/800
Should this be: framebuffer=800/600/8/0x90000000/832

I have the following framebuffer entry:

Code: Select all

framebuffer=800/600/8/0x90000000/832
But I don't have any knowledge about this entry. I think this is the CFE screen resolution.
JohnFante wrote:

Code: Select all

CFE_MEMORYSIZE=4096
Should this be: CFE_MEMORYSIZE=8192
Do you have 8GB installed in your X1000?

Furthermore a lot of fun with your A1-X1000. :-)

Cheers,

Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
JohnFante
Beta Tester
Beta Tester
Posts: 183
Joined: Tue Sep 04, 2012 6:48 am
Location: Copenhagen, Denmark

Re: Optimal CFE-settings for 4.1 and Linux

Post by JohnFante »

Thank you. I will try that boot argument tomorrow :-)

I have 4GB installed.
X5000 :-)
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Optimal CFE-settings for 4.1 and Linux

Post by nbache »

JohnFante wrote:

Code: Select all

os4_commandline=DEBUGLEVEL=0 SERIAL
Is this necessary and how do I remove it? I do not have a debug output setup.
If you don't have a serial cable to another computer with a terminal program, you can have the debug output directed to a circular (fixed-size) memory buffer instead, which can be dumped using the DumpDebugBuffer command.

This is the default, so you only need to remove the SERIAL keyword, and the way to do this is to enter into the CFE commandline: "setenv -p os4_commandline debuglevel=0".

Best regards,

Niels
Post Reply