* [U-Boot] Address of UBoot command line
@ 2010-10-20 22:29 kaushik619
2010-10-21 0:43 ` Fabio Estevam
2010-10-21 1:13 ` Mike Frysinger
0 siblings, 2 replies; 7+ messages in thread
From: kaushik619 @ 2010-10-20 22:29 UTC (permalink / raw)
To: u-boot
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 ??
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Address of UBoot command line
2010-10-20 22:29 [U-Boot] Address of UBoot command line kaushik619
@ 2010-10-21 0:43 ` Fabio Estevam
2010-10-21 1:13 ` Mike Frysinger
1 sibling, 0 replies; 7+ messages in thread
From: Fabio Estevam @ 2010-10-21 0:43 UTC (permalink / raw)
To: u-boot
--- 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 at 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
^ permalink raw reply [flat|nested] 7+ messages in thread* [U-Boot] Address of UBoot command line
2010-10-20 22:29 [U-Boot] Address of UBoot command line kaushik619
2010-10-21 0:43 ` Fabio Estevam
@ 2010-10-21 1:13 ` Mike Frysinger
2010-10-21 1:46 ` kaushik619
1 sibling, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2010-10-21 1:13 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Address of UBoot command line
2010-10-21 1:13 ` Mike Frysinger
@ 2010-10-21 1:46 ` kaushik619
2010-10-21 4:10 ` Mike Frysinger
2010-10-21 4:38 ` Wolfgang Denk
0 siblings, 2 replies; 7+ messages in thread
From: kaushik619 @ 2010-10-21 1:46 UTC (permalink / raw)
To: u-boot
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 at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Address of UBoot command line
2010-10-21 1:46 ` kaushik619
@ 2010-10-21 4:10 ` Mike Frysinger
2010-10-21 4:41 ` Wolfgang Denk
2010-10-21 4:38 ` Wolfgang Denk
1 sibling, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2010-10-21 4:10 UTC (permalink / raw)
To: 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
-------------- 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Address of UBoot command line
2010-10-21 4:10 ` Mike Frysinger
@ 2010-10-21 4:41 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2010-10-21 4:41 UTC (permalink / raw)
To: u-boot
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
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Address of UBoot command line
2010-10-21 1:46 ` kaushik619
2010-10-21 4:10 ` Mike Frysinger
@ 2010-10-21 4:38 ` Wolfgang Denk
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2010-10-21 4:38 UTC (permalink / raw)
To: u-boot
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
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-10-21 4:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 22:29 [U-Boot] Address of UBoot command line kaushik619
2010-10-21 0:43 ` Fabio Estevam
2010-10-21 1:13 ` Mike Frysinger
2010-10-21 1:46 ` kaushik619
2010-10-21 4:10 ` Mike Frysinger
2010-10-21 4:41 ` Wolfgang Denk
2010-10-21 4:38 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox