Tiny Core Base > Raspberry Pi

Add lrzsz to the repo?

<< < (3/5) > >>

patrikg:
Do you connect to fpga via minicom via tcp/ip or via some serial transfer ??

lsz -X fpga.bin > /dev/ttyAMA0 < /dev/ttyAMA0

Is this something you recognize ?

Maybe the program have some problems with permissions to the device ??
You may list what group the serial port are assign to.
And add that group to the user that execute the program. Like "tc"

bambadoo:
Yes it is with serial
/dev/ttyAMA0
No problem connecting to the device and typing commands etc. (soekris dac , dam1021), but transferring files from a mount I have made on the rpi is a no go.

bambadoo:
No with my restricted knowledge,  I am unable to make this work.
Have to use another distro for this specific job.

bambadoo:
Hi again. Sorry for bringing this up again. I have still no luck using this with a serial program.
Minicom and lrzsz is installed.
Not able to transfer files.
Just did a fresh install with another distro (raspbian based). Excact same setup with serial interface and minicom setup.
Transferring files went as a breeze. With picore nothing happens.
I really have no clue what could be the reason.

patrikg:
Have you tried to do it with sudo ?
Could you do, so we can see what rights the device have... maybe the lrzsz don't have correct rights to the serial device.


--- Code: (bash) ---ls -l /dev/ttyAMA0
--- End code ---

And when piping with sudo, isn't so easy.
Could be done with.


--- Code: (bash) ---sudo sh -c 'lsz -X fpga.bin > /dev/ttyAMA0 < /dev/ttyAMA0'
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version