We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
When I place the SD card in the SD card in the raspberry pi slot, the pi cannot boot, it says it needs a newer raspberrian, I installed several different versions of the operative system like:
The raspberry pi was able to boot but when i try to follow the process in this tutorial, i get this answer:
The following packages have unmet references
I tried installing different raspberrian system but the system from 1/12 is too old and the one from 3/25 the raspberry kernel is too new, what should I do?
Those are both year old versions of Raspberry Pi OS. There have been many bug fixes and improvements for the RasPi 4 in the past year so I strongly recommend you try one of the newer more bug free versions from April of this year.
Scott, thanks for the info sadly the image you sent gives the same result with the file uno220rtc, the file fails to install and gives the error that the kernel is too new.
I understand raspberry pi have much newer versions but Advantech haven’t created updated versions of the drivers for the UNO-220, that’s the reason why I’m looking for a version that will work with the raspberry pi and the case hat UNO-220
2021-05-28 should be supported… Just make sure you don’t upgrade the kernel before install the uno220* dpkg modules…
Looks like we can build them ourselves…
sudo apt update ; sudo apt install time
git clone https://github.com/Advantech-IIoT/UNO-220-POE-
cd ./UNO-220-POE-/
make rpidpkgrtc
voodoo@rpi4b8g-01:~/UNO-220-POE- $ make rpidpkgrtc
make[1]: Entering directory '/home/voodoo/UNO-220-POE-'
Cloning into '/home/voodoo/UNO-220-POE-/build/compiler'...
remote: Enumerating objects: 11011, done.
remote: Counting objects: 100% (11011/11011), done.
remote: Compressing objects: 100% (5532/5532), done.
remote: Total 11011 (delta 5763), reused 9924 (delta 4990), pack-reused 0
Receiving objects: 100% (11011/11011), 189.86 MiB | 9.43 MiB/s, done.
Resolving deltas: 100% (5763/5763), done.
Updating files: 100% (19060/19060), done.
Cloning into '/home/voodoo/UNO-220-POE-/build/kernel/4.19.118-v7l+/src'...
remote: Enumerating objects: 66216, done.
remote: Counting objects: 100% (66216/66216), done.
remote: Compressing objects: 100% (62021/62021), done.
remote: Total 66216 (delta 5180), reused 16660 (delta 3269), pack-reused 0
Receiving objects: 100% (66216/66216), 178.80 MiB | 7.80 MiB/s, done.
Resolving deltas: 100% (5180/5180), done.
Note: switching to 'fe2c7bf4cad4641dfb6f12712755515ab15815ca'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
okay it’s building for 4.19.118-v7l+
Edit 2:
voodoo@rpi4b8g-01:~/UNO-220-POE- $ make build_dpkg_img
make[1]: Entering directory '/home/voodoo/UNO-220-POE-'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2866M 100 2866M 0 0 16.7M 0 0:02:51 0:02:51 --:--:-- 19.0M
Archive: /home/voodoo/UNO-220-POE-/build/download/raspbianfull20210507.img.zip
inflating: 2021-05-07-raspios-buster-armhf-full.img
mount: /home/voodoo/UNO-220-POE-/build/mount/root: failed to setup loop device for /home/voodoo/UNO-220-POE-/build/release/2021-05-07-raspios-buster-armhf-full.img.
make[1]: *** [rules/project/image.mk:34: mount_dpkg_img] Error 32
make[1]: Leaving directory '/home/voodoo/UNO-220-POE-'
Command exited with non-zero status 2
133.94user 98.48system 5:46.70elapsed 67%CPU (0avgtext+0avgdata 9276maxresident)k
853560inputs+22672888outputs (47major+169412minor)pagefaults 0swaps
make: *** [Makefile:20: build_dpkg_img] Error 2
Ran sudo apt-get install uno220config uno220rtc uno220gpio uno220uart. I got the following result:
pi@raspberrypi:/etc/apt $ sudo apt-get install uno220config uno220rtc uno220gpio uno220uart
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
uno220rtc : PreDepends: raspberrypi-kernel (<= 1.20210108-1) but 1.20210430-1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is the result I keep getting. As far as I can tell I am following your colleagues directions to the letter. What’s next???
Hello @danielf,
I have passed all your detailed info and results on to Advantech and am waiting for a response. As soon as we have any more information we will update this post.
Best Regards,
Scott Raeker
Thanks for all the help, the raspberry pi with the uno-220 is up and running. I’m not sure if this question will belong here.
I’m trying to use node red to do the programming of the gpio and all the info we need. is there any tutorial in how to obtain the pin number, I2C address and Bus? I found this palette:
Will this palette be ideal to do the programming in node red or is there other way i can get inputs and outputs from the UNO-220?