R: filling string variables in script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I’m sorry, I renovate my previous question.

Or maybe it wasn’t arrived to the list.

I appreciate if someone could put me on right trace.

Thanks. Marty

 

Da: barebox-bounces@xxxxxxxxxxxxxxxxxxx [mailto:barebox-bounces@xxxxxxxxxxxxxxxxxxx] Per conto di Martino Ruppi
Inviato: giovedì 29 marzo 2012 15.36
A: barebox@xxxxxxxxxxxxxxxxxxx
Oggetto: filling string variables in script

 

Dear all,

I would ask a question as barebox user.

I mind to set a variable as result of memory reading but I understand it doesn’t implemented redirection.

I’d like to do something of this:

 

myvar=””

memcpy –s  /dev/nor0.switch –d $myvar 0x0 0x0 4

 

or

 

myvar=”$(cat /dev/nor0.switch)”

 

I think, I use one of last releases (version command?).

Thanks to everyone can help me.

Marty

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Martino Ruppi, FW engineer developer, PhD

mruppi@xxxxxxxxxxx

 

Techimp HQ srl

Via Toscana 11/C

40069 Zola Predosa (BO)

Tel.   051 19986050

Fax.   051 19986099

Cell.  349 4677660

 

 

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux