Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
44 user(s) are online (20 user(s) are browsing Forums)

Members: 0
Guests: 44

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
Re: Command to see CFE / UBOOT variables (SOLVED)
Not too shy to talk
Not too shy to talk


See User information
@nbache

Sorry, just revisiting this old thread.

I was certain that there was an NVSetVar for non-SAMs. I may even have used it on my A1XE.

I even have documentation for it in the Documentation/C drawer of my X5000, and no documentation for NVGetVar (yes, I know, it's pretty easy to use, just pointing out we have documentation for non-existent NVSetVar, and no documentation for NVGetvar, which does exist).

Don't know how it would've got there, either from my A1XE or for the brief period I was loaned a SAM. It's also my my emergency USB boot drive, so I think somehow it was released.

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Just can't stay away
Just can't stay away


See User information
@daveyw

No, I believe you're right, there was also an NVSetVar command for the original A1 machines.

I forgot about those, I haven't had a working A1 for a decade or something. Only working OS4 systems here are Sam440ep, Sam460ex, X1000 and X5000/40 - and an A1200 with BPPC/BVision. Oh, and an emulated A4000 in Amiga Forever on my wife's laptop.

Best regards,

Niels

Go to top
Re: Command to see CFE / UBOOT variables (SOLVED)
Not too shy to talk
Not too shy to talk


See User information
@nbache

Quote:
No, I believe you're right, there was also an NVSetVar command for the original A1 machines.


I distinctly remember this. The A1 had it but the feature was missing on the X1000 for some reason. At times I would have used it to restore firmware variables which was possible as they could be backed up.

Right now my A1 is in a state of flux. I don't know what I've done to it but the main test volume won't boot up and stalls after Kickstart. The beta volume is wrecked after I added RadeonHD drivers in testing and messed up a module name. I need to boot my OS4 CD but even booting off USB which I had working fails in UBoot now.

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