[U-Boot] Address of UBoot command line

Im trying to access the Uboot command line in my kernel program.
Can anyone help me figure out to what address should I jump to reach the UBoot command line ??

--- On Wed, 10/20/10, kaushik619 kaushik619@gmail.com wrote:
From: kaushik619 kaushik619@gmail.com Subject: [U-Boot] Address of UBoot command line To: u-boot@lists.denx.de Date: Wednesday, October 20, 2010, 8:29 PM
Im trying to access the Uboot command line in my kernel program.
Can anyone help me figure out to what address should I jump to reach the UBoot command line ??
You can do 'cat /proc/cmdline' to see the kernel command line in Linux.
Regards,
Fabio Estevam

On Wednesday, October 20, 2010 18:29:49 kaushik619 wrote:
Im trying to access the Uboot command line in my kernel program.
Can anyone help me figure out to what address should I jump to reach the UBoot command line ??
most people do not keep u-boot resident once Linux has booted -mike

Im developing my own kernel which uses uboot. I want to jump to the uboot command line on using the exit syscall. Linux is not involved.
Can you tell me how I can reach the command line when i use the exit system call???
Mike Frysinger wrote:
On Wednesday, October 20, 2010 18:29:49 kaushik619 wrote:
Im trying to access the Uboot command line in my kernel program.
Can anyone help me figure out to what address should I jump to reach the UBoot command line ??
most people do not keep u-boot resident once Linux has booted -mike
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On Wednesday, October 20, 2010 21:46:45 kaushik619 wrote:
please dont top post
Im developing my own kernel which uses uboot. I want to jump to the uboot command line on using the exit syscall. Linux is not involved.
either software reset and let u-boot boot like normal, or dont overwrite any of the u-boot code/data sections. then just return to it.
look at the u-boot stand alone application examples -mike

Dear Mike Frysinger,
In message 201010210010.47998.vapier@gentoo.org you wrote:
Im developing my own kernel which uses uboot. I want to jump to the uboot command line on using the exit syscall. Linux is not involved.
either software reset and let u-boot boot like normal, or dont overwrite any of the u-boot code/data sections. then just return to it.
This also means that you must not overwrite (or restore before return) U-Boot's exception vectors.
Best regards,
Wolfgang Denk

Dear kaushik619,
In message 30015546.post@talk.nabble.com you wrote:
Can you tell me how I can reach the command line when i use the exit system call???
The most reliable way is by performing a hard reset of your system, i. e. a reboot.
Best regards,
Wolfgang Denk
participants (4)
-
Fabio Estevam
-
kaushik619
-
Mike Frysinger
-
Wolfgang Denk