Skip to contentSkip to conversation

sending data from ram to host machin in u-boot

U-Boot tvpatel12 3 participants 6 messages Nov 19, 2013

lore
Share & tools
lore

tvpatel12

author
#0 lore raw

Hi,
I am working with Uboot only. there is no any kernel or OS. I am running program only dependent on U-boot. It stores result in RAM. Now, i want to transfer that data to my host machine. My development board is connected to host PC via serial console.
Pleas help...

--
View this message in context: http://u-boot.10912.n7.nabble.com/sending-data-from-ram-to-host-machin-in-u-boot-tp167954.html
Sent from the U-Boot mailing list archive at Nabble.com.

#1 lore raw

You need to code a serial driver protocol. At pc end .you using putty ? 2013-11-19 PM3:13?"tvpatel12" <[email protected]>???

Quoted 18 lines

Hi,
I am working with Uboot only. there is no any kernel or OS. I am running program only dependent on U-boot. It stores result in RAM. Now, i want to transfer that data to my host machine. My development board is connected to host PC via serial console.
Pleas help...

--
View this message in context:
http://u-boot.10912.n7.nabble.com/sending-data-from-ram-to-host-machin-in-u-boot-tp167954.html
Sent from the U-Boot mailing list archive at Nabble.com.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

Dear "James W.",

Quoted 2 lines · In message <CA+FcS-yya38TFq7o2=o0mCS4kbU9Q0awwpmbYycgg-1z+TgaRg@mail.gmail.com>…

You need to code a serial driver protocol. At pc end .you using putty

Why would he?

Quoted 5 lines
Quoted 5 lines

I am working with Uboot only. there is no any kernel or OS. I am running program only dependent on U-boot. It stores result in RAM. Now, i want to transfer that data to my host machine. My development board is connected > to host PC via serial console.
Pleas help...

Just use the "sendb" command to upload the data a S-Records. Yes, this is not really eficient, but unless you have an ethernet connection it's what you can get for free.

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
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein
#4 lore raw

Dear tvpatel12,

Quoted 3 lines · In message <[email protected]> you wrote:

I can have Ethernet connection. Can you elaborate how could i do that using Ethernet only on uboot mode?

Enable CONFIG_CMD_TFTPPUT in your board config, and use the tftpput command.

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
What we anticipate seldom occurs;  what  we  least  expect  generally
happens.                                          - Bengamin Disraeli
#5 lore raw
In reply to Wolfgang Denk

Sorry sir .i got it.
? 2013-11-19 PM6:52?"Wolfgang Denk" <[email protected]>???

Quoted 34 lines

Dear "James W.",

In message <CA+FcS-yya38TFq7o2=

Quoted 2 lines · o0mCS4kbU9Q0awwpmbYycgg-1z+TgaRg at mail.gmail.com> you wrote:

You need to code a serial driver protocol. At pc end .you using putty

Why would he?

Quoted 1 line
Quoted 1 line

I am working with Uboot only. there is no any kernel or OS. I am

running

Quoted 1 line
Quoted 1 line

program only dependent on U-boot. It stores result in RAM. Now, i want

to

Quoted 1 line
Quoted 1 line

transfer that data to my host machine. My development board is

connected > to

Quoted 2 lines
Quoted 2 lines

host PC via serial console.
Pleas help...

Just use the "sendb" command to upload the data a S-Records. Yes, this is not really eficient, but unless you have an ethernet connection it's what you can get for free.

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 When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity. -- Albert Einstein