WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Add lrzsz to the repo?  (Read 959 times)

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Add lrzsz to the repo?
« on: March 29, 2016, 02:07:02 PM »
Hi, minicom works fine. However there are additional package that need to be installed to make xmodem, ymodem etc. work. That package is called lrzsz.
Is it possible to add it to the repo?

Sincerely

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6840
    • My Community Forum
Re: Add lrzsz to the repo?
« Reply #1 on: March 29, 2016, 10:12:59 PM »
lrzsz.tcz added to piCore-7.x repos (armv6/armv7)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #2 on: March 30, 2016, 12:16:51 AM »
Thanks alot. I am unable to find it though...
search tce gives no result.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6840
    • My Community Forum
Re: Add lrzsz to the repo?
« Reply #3 on: March 30, 2016, 12:21:19 AM »
tc@box:~$ tce
tce-ab - Tiny Core Extension: Application Browser

Code: [Select]
S)earch P)rovides K)eywords or Q)uit:
Enter starting chars of desired extension, e.g. abi: lrzsz

tce - Tiny Core Extension browser

         1. lrzsz-doc.tcz
         2. lrzsz.tcz

Enter selection ( 1 - 2 ) or (q)uit:

It is in the 7.x main repo. Repo mirrors updated usually once in a day so if you are using a mirror, it will appear later.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #4 on: March 30, 2016, 12:09:32 PM »
Thanks once again. Still no luck. Will try again tomorrow :)
Using "picoreplayer" for the rpi2
Quote
Extension not found!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6840
    • My Community Forum
Re: Add lrzsz to the repo?
« Reply #5 on: March 30, 2016, 01:05:10 PM »
Ah, you did not tell it is not piCore you are using nor which piCore it based on. Probably it is running on piCore 6.x
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #6 on: March 30, 2016, 10:06:09 PM »
v2.04
Update kernel to 4.1.20.
Updated piCore to 7.1 beta3.

But it seems if it is working todag :)

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #7 on: March 31, 2016, 07:28:35 AM »
Yes the download and install seems to work. The package itself (xmodem -1k) do not seem to work for me. I really dont know what the problem is. Will try to dig into it.
« Last Edit: March 31, 2016, 07:53:52 AM by bambadoo »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6840
    • My Community Forum
Re: Add lrzsz to the repo?
« Reply #8 on: March 31, 2016, 08:47:02 AM »
What do you mean 'do not seem to work'?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #9 on: March 31, 2016, 10:58:23 AM »
Unable to upload files via minicom to my fpga based dac. It just doesnt start the upload. That need xmodem protocol to make it work. When using a different distro (i.e. archphile) it works like a charm. Excactly the same setup and config for minicom..
I am not sure what causes this.

Offline patrikg

  • Full Member
  • ***
  • Posts: 234
Re: Add lrzsz to the repo?
« Reply #10 on: March 31, 2016, 02:26:42 PM »
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"
« Last Edit: March 31, 2016, 02:31:04 PM by patrikg »

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #11 on: March 31, 2016, 09:53:19 PM »
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.
« Last Edit: March 31, 2016, 09:56:57 PM by bambadoo »

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #12 on: April 04, 2016, 12:02:20 AM »
No with my restricted knowledge,  I am unable to make this work.
Have to use another distro for this specific job.

Offline bambadoo

  • WikiUser
  • *
  • Posts: 21
Re: Add lrzsz to the repo?
« Reply #13 on: February 15, 2017, 01:22:50 PM »
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.

Offline patrikg

  • Full Member
  • ***
  • Posts: 234
Re: Add lrzsz to the repo?
« Reply #14 on: February 15, 2017, 02:35:37 PM »
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) [Select]
ls -l /dev/ttyAMA0
And when piping with sudo, isn't so easy.
Could be done with.

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