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 ??
Signature · 2 lines
View this message in context: http://old.nabble.com/Address-of-UBoot-command-line-tp30014689p30014689.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 11 lines · --- On Wed, 10/20/10, kaushik619 <[email protected]> wrote:
From: kaushik619 <[email protected]>
Subject: [U-Boot] Address of UBoot command line
To: u-boot at lists.denx.de
Date: Wednesday, October 20, 2010, 8:29 PMIm 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
Quoted 4 lines · 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101020/fd07c120/attachment.pgp
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???
Quoted 17 lines · Mike Frysinger
Quoted 4 lines · 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 at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signature · 2 lines
View this message in context: http://old.nabble.com/Address-of-UBoot-command-line-tp30014689p30015546.html Sent from the Uboot - Users mailing list archive at Nabble.com.
On Wednesday, October 20, 2010 21:46:45 kaushik619 wrote:
please dont top post
Quoted 2 lines
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101021/0b574b24/attachment.pgp
Dear kaushik619,
Quoted 3 lines · In message <[email protected]> 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
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Madness has no purpose. Or reason. But it may have a goal. -- Spock, "The Alternative Factor", stardate 3088.7
Dear Mike Frysinger,
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 3 lines
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
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I am pleased to see that we have differences. May we together become greater than the sum of both of us. -- Surak of Vulcan, "The Savage Curtain", stardate 5906.4