Page 1 of 1

Optimal CFE-settings for 4.1 and Linux

Posted: Sat Jul 05, 2014 2:52 pm
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

Re: Optimal CFE-settings for 4.1 and Linux

Posted: Sat Jul 05, 2014 6:26 pm
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

Re: Optimal CFE-settings for 4.1 and Linux

Posted: Sat Jul 05, 2014 7:21 pm
by johnfante
Thank you. I will try that boot argument tomorrow :-)

I have 4GB installed.

Re: Optimal CFE-settings for 4.1 and Linux

Posted: Sun Jul 06, 2014 12:55 am
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