Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
148 user(s) are online (100 user(s) are browsing Forums)

Members: 3
Guests: 145

bigmac, Skateman, orgin, more...

Headlines

 
  Register To Post  

Command to see CFE / UBOOT variables (SOLVED)
Quite a regular
Quite a regular


See User information
Once more I have forgotten how to display the CFE variables in shell. There is a simple command that shows them when inside a shell/booted up AmigaOS4 session.

Is it also the same command to see UBOOT variables?

@nbache told me what command this was, but I can no longer remember!


Edited by rjd324 on 2023/9/10 23:55:51
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Command to see CFE/UBOOT variables
Not too shy to talk
Not too shy to talk


See User information
@rjd324

https://wiki.amigaos.net/wiki/UserDoc:BIOS

Quote:
Once AmigaOS has been installed you can obtain a complete unsorted list by typing NVGetVar from a Shell to display all of the UBoot environment variables. Typing NVGetVar >RAM:varlist will output the list to a file on the RAM Disk which you can print off for reference if required.


I dont have a X1000 so cant check if this is correct.

Go to top
Re: Command to see CFE/UBOOT variables
Quite a regular
Quite a regular


See User information
`nvgetvar'

Thanks.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Command to see CFE/UBOOT variables
Home away from home
Home away from home


See User information
been a damn long time since I set up my CFE on my X1K. Long story short few months back my system boots up only to a prompt...then I type in menu and everything boots up fine. Have no idea how that happened but would like to know which file I need to edit and where the heck do I have to enter 'menu' so it boots up automatically?

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Quite a regular
Quite a regular


See User information
Can you output the contents of your `nvgetvar'?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Home away from home
Home away from home


See User information
@rjd324

here it is:
New Shell process 9
9.AmigaOS:> NVGetVar
name=options
little-endian?=
ETH0_HWADDR=00:50:c2:20:d9:ca
MENU_1_COMMAND=setenv amigaboot_quiet Y;set pmu -astate=a4;boot -fatfs cf0:amigaboot.of
MENU_2_COMMAND=
MENU_4_LABEL=Linux-Debian
MENU_TIMEOUT=20
bootargs=root=/dev/sda5
MENU_4_COMMAND=boot -elf -noints -fatfs cf0:vmlinux
os4_bootdevice=auto
MENU_0_LABEL=Boot Options/Beta/CD
MENU_2_LABEL=---
MENU_3_LABEL=---
MENU_1_LABEL=AmigaOS4.x- End User
MENU_x_COMMAND=setenv os4_commandline "DEBUGLEVEL=5 SERIAL";setenv os4_bootdevice "auto";boot-fs=amigafs ide0.1:amigaboot.of
MENU_3_COMMAND=setenv os4_commandline "DEBUGLEVEL=5 SERIAL";setenv os4_bootdevice "auto";boot-fatfs cf0:amigaboot.of
MENU_0_COMMAND=boot -fs=amigafs cf0:amigaboot.of
STARTUP=MENU
framebuffer=800/600/8/0x90000000/832
BOOT_CONSOLE=pcconsole0
CFE_VERSION=PAS-2.0.30
CFE_BOARDNAME=NEMO
CFE_MEMORYSIZE=4096
9.AmigaOS:>

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Quite a regular
Quite a regular


See User information
Right, you are missing
MENU_DEFAULT=1


Presumably you want to boot into AmgiaOS4 by default, hence why I chose 1.

You should set that variable and remember to save it.

===

If that does not work for you I will actually consult my X1000 documentation and find out what exactly you need.

It may be the MENU_TIMEOUT setting that needs changing. Cannot remember right now.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Home away from home
Home away from home


See User information
well I do still want to boot up to the menu first although nowadays my Beta partition is just a backup of my main one.

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Home away from home
Home away from home


See User information
@rjd324

how to edit NVGetVar file?

_______________________________
c64-dual sids, A1000, A1200-060@50, A4000-CSMKIII
Catweasel MK4+= Amazing
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Quite a regular
Quite a regular


See User information
`NVGetVar' just fetches the settings from NVRAM.

In order to change the settings you would have to boot into CFE and actually change and then save (do not forget to save) the settings.

I do not believe you can do this from within AmigaOS4 - but would be happy to be told otherwise!

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Just can't stay away
Just can't stay away


See User information
@rjd324

No, that's right, except on the Sams (440 and 460), where ACube have provided a custom NVSetVar command which can set them from AmigaOS.

Would be great to have such a command for X1000 and X5000 (etc.) as well.

Best regards,

Niels

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project