[Meta] Radxa Rock Pi 4C Plus and TeslaUSB #883
Replies: 42 comments 42 replies
-
So far, my progress is:
12d.
Diagnostics: |
Beta Was this translation helpful? Give feedback.
-
I haven't had time to try your steps yet, but I would suggest using a recent Armbian build with a newer kernel, e.g. Armbian_23.8.1_Rockpi-4cplus_jammy_current_6.1.50.img.xz from https://redirect.armbian.com/rockpi-4cplus/archive/ |
Beta Was this translation helpful? Give feedback.
-
I have tried it first. It does not see USB SSD (Samsung T7) and USB-NVME adapter with Samsung 980 Pro connected to USB 3.0 ports, only 2.0 ports see connected drive. What's better, when I use image from first comment and do |
Beta Was this translation helpful? Give feedback.
-
I’ve just used apt-get update and apt-get upgrade as well as unfreezing kernel updates. That way it’ll ensure the kernel stays current regardless of the installed image. Also there is now a new beta coding UI you can install that’s a convenient option. |
Beta Was this translation helpful? Give feedback.
-
What do You mean? I'm new in Armbian world so discovering something new is fun :) |
Beta Was this translation helpful? Give feedback.
-
Sorry. Please try this: sudo apt update && sudo apt install armbian-config. You should then be able to run armbian-config to u freeze kernel installs and configure WLAN, etc. it’s the same as running nmtui. |
Beta Was this translation helpful? Give feedback.
-
Looks like #769 is present in current Armbian images. EDIT
|
Beta Was this translation helpful? Give feedback.
-
The
|
Beta Was this translation helpful? Give feedback.
-
overlay and SSD visibility: dwc3-0-host overlay is the only overlay that gives SSD visibility in any of USB3 port (lower port, being specific). |
Beta Was this translation helpful? Give feedback.
-
spiced with:
No SSD visibility in lower USB3 port, had to use USB2 port to make drive visible. Unfortunately, whole rig is not visible in PC. |
Beta Was this translation helpful? Give feedback.
-
OK, I have managed to get something working:
TeslaUSB works on Rock Pi.
|
Beta Was this translation helpful? Give feedback.
-
For anyone coming through here and noticing there's a Wiki now on how to install and get the 4C+ working: Under the https://github.com/marcone/teslausb/wiki/Rock-Pi-4C--Installation#software-requirements Software Requirements section, the link to the image no longer works as that listed version has been archived. You can find that particular version here: https://imola.armbian.com/dl/rockpi-4cplus/archive/ |
Beta Was this translation helpful? Give feedback.
-
@mjpcomp the linked image was already archived, the problem is that that particular archive was deleted, as I'm sure the one you linked to will be deleted at some point too. This is because Armbian is switching to community images for the Rock Pi 4C+ due to lack of an official maintainer. The problem is that the community image does not have working OTG. |
Beta Was this translation helpful? Give feedback.
-
Ah, thanks for the heads up - that's definitely good to know... I'm going to make sure I keep an extra copy of this image around.. Wonder if it may need to be hosted on archive.org or something just in case it does go the way of the Dodo... |
Beta Was this translation helpful? Give feedback.
-
I found that the USB-OTG was unreliable, so I took a stab in the dark and removed the I still see the drives appear for a little bit, then go away, and then come back again. I suspect this might be due to the sync script running on startup but I haven't confirmed this yet. |
Beta Was this translation helpful? Give feedback.
-
I can't seem to get my Rock Pi 4c+ to work with Model Y glovebox with USB3 (to avoid the warning about glovebox usb) in any configuration. The issue is that the Rockpi just doesnt get picked up by the Model Y (DashCam is unavailable in the settings). I've tried various combinations of the following with no luck:
There are ways to "trick" the car to pick up teslausb but these are mostly temporary as far as i can tell and eventually becomes unavailable again. For example, while the Rockpi is power, I plugged it into my laptop to make sure its mounted, then unplug from laptop and plug into USB hub connected to the glove box usb. Someone might be able to explain this phenomenon but it doesnt last long, or maybe it never actually works and is just visual. I can take a USB3 configuration that works 100% time on a Model 3 and plug it into a Model Y and it wont work. I've tested on 2 Model Y's and 2 Model 3's. Only thing I've gotten to work reliably just using USB2, but then that kinda defeats the whole purpose of using a Rockpi and could just go with a smaller raspberry pi. If anyone has any insight i'm all ears. |
Beta Was this translation helpful? Give feedback.
-
Have you checked another USB3 device, like an SSD to confirm it works? Does the RockPi power on or do you get nothing at all? Tesla Y manual says it needs to be USB2 or USB3 that is compatible with USB2 and sustains 4MB/s sustained. After I read that I abandoned the thought of a Rock Pi. |
Beta Was this translation helpful? Give feedback.
-
Figured I'd post here in case anyone else is running into the same issue... my RockPi 4C+ had been working fine since May until a Tesla update, it would only mount the drive if I did a scroll wheel reset. I figured I'd try to run the teslausb updater and then it would no longer boot. Using either images listed here or in the Wiki, the first time
edit: Less than a week later, the car no longer found it as a writable device and even though it connects to my wifi, it does not accept any SSH connections. Connecting via HDMI, I'm able to log into it just fine and everything looks normal, SSH is running, but even wired, it rejects SSH connections. I'm a bit out of my depth now unfortunately. |
Beta Was this translation helpful? Give feedback.
-
@gerculanum hopefully you still see messages from this old thread. I'm curious if you still knew what release you were using. I tried getting things going with this latest trunk https://github.com/armbian/community/releases/tag/24.11.0-trunk.167, and I was able to install it and compile the overlay. Were there other steps you took before installing teslausb? Right now I cannot get wifi to authenticate, keeps timing out even though it see's my wifi no problem. This was not an issue with the version linked in the wiki...though I did have the boot stability issue on that version. If you wouldn't mind sharing any other steps you took before installing teslausb, that would be awesome. Or link me to where you found it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@nmiller0113 I found that using the minimal image, there is some firmware or something missing. I also could not authenticate, and then once I got the extra packages installed, it failed boot and showed a U-Boot screen. I think the boot partition ran out of space. About a month ago, I tried using the desktop image, obviously ran into issues with the install script since it's set to 3G partition. I edited it to 10G, ran the script and followed the rest of the normal instructions. It has been running and copying footage to my NAS with no issue for the better part of a month. I also no longer get the red X as I did previously that required me to reboot the car to get it to start recording. |
Beta Was this translation helpful? Give feedback.
-
Thanks @jheyneman! What extra packages did you install? If I use the image listed wiki instructions I have boot issues as @gerculanum stated were fixed in later releases. I'm not sure why you're not having the same boot issues, as it doesn't seem to be a boot partition size problem from what was stated...but maybe I misunderstood. This new version, albeit minimum install image, is super stable...I just can't get my wifi to authenticate and don't know which packages are missing to do so. That's why I was hoping that @gerculanum may see this and be able to assist as it sounds like he's got it running. |
Beta Was this translation helpful? Give feedback.
-
@jheyneman oh wait...I just noticed you edited your original response from full image (which I assumed was the one on the wiki) to desktop image. Where did you find that? Thanks again! |
Beta Was this translation helpful? Give feedback.
-
(converting this to a discussion since it wasn't really an issue report to begin with) |
Beta Was this translation helpful? Give feedback.
-
I’m running into an issue with my ROCK Pi 4C Plus. When I plug in a USB 3.0 flash drive into the lower USB 3.0 port and power on the device, the flash drive is only recognized as USB 2.0 speed. But if I unplug it and plug it back in again (hot-plugging), it gets detected properly as a USB 3.0 device. This seems really strange and I’m not sure what’s causing it. Any ideas?
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to get teslausb up on a Rock 4C+ board (no RockPI). I want to use DietPi since it gives very short boot times. The board is equipped with an eMMC module (16GB) and I added a SD card (512GB). The wiki page suggests to use the generic installer. I tried it - it shrinked the eMMC partition and rebooted. Nothing else. How may I proceed now? |
Beta Was this translation helpful? Give feedback.
-
I added a device tree overlay that activates the peripheral mode. I can
send it if you want. But not today.
marcone ***@***.***> schrieb am So., 15. Dez. 2024, 19:14:
… I tried TeslaUSB-on-DietPi-on-RockPi4C+, but it failed due to OTG not
being enabled, with no apparent way to enable it in the DietPi config tool.
—
Reply to this email directly, view it on GitHub
<#883 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWI2OLIQZWPSYOVKBNFF232FXBJNAVCNFSM6AAAAABPGOO3QGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJXGM3DAOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I think you beat me to it. I checked in the first version yesterday and
wanted to test it tonight. Please be patient!
mentorosso ***@***.***> schrieb am So., 22. Dez. 2024, 13:49:
… hi,
thank you very much for your work!
till now i can't correctly install teslausb on rock4c+; i tried many
builds including the one cited here and others. Dietpi seems to be good,
but i good 2 issues:
-the script to install the two overlays cited in your branch doesn't
worked for me, it seems that the command diet pi add-overlay, wasn't
installed. i tried doing it manually but maybe i missed something.
-the installation didn't started after compiling correctly teslausb setup
variable file, it says lsblk not a block device.
—
Reply to this email directly, view it on GitHub
<#883 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWI2OIWZZ2RB7II3OPE3GD2G2YNDAVCNFSM6AAAAABPGOO3QGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRUGI2DQOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I checked in the (compiled) dtbo files in my repo. So there is no need for
the dtc. For the hostname, dbus is required (install and enable/start
service).
marcone ***@***.***> schrieb am So., 22. Dez. 2024, 17:53:
… hi, thank you very much for your work! till now i can't correctly install
teslausb on rock4c+; i tried many builds including the one cited here and
others. Dietpi seems to be good, but i good 2 issues: -the script to
install the two overlays cited in your branch doesn't worked for me, it
seems that the command diet pi add-overlay, wasn't installed. i tried doing
it manually but maybe i missed something. -the installation didn't started
after compiling correctly teslausb setup variable file, it says lsblk not a
block device.
Dietpi worked for me, but I needed to
- apt install device-tree-compiler in order to run the dtc command
mentioned above
- set export TESLAUSB_HOSTNAME=DietPi in the TeslaUSB config file
because the way TeslaUSB sets the host name doesn't work on Dietpi
I think those were the only things I needed to do to get TeslaUSB
working on DietPi on Rock (Pi) 4C+.
—
Reply to this email directly, view it on GitHub
<#883 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWI2OL6L2UQTRWDVF22ZT32G3U6ZAVCNFSM6AAAAABPGOO3QGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRUGM3DQNI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry for that, right now I'm unable to correct the errors. Thank you for
the information!
marcone ***@***.***> schrieb am Di., 24. Dez. 2024, 20:05:
… There are two reasons for that. One is that the script uses the shell
variable USER, which by default will be set to the name of the calling
user, so if you run the scripts as root, it will try to download e.g.
https://raw.githubusercontent.com/root/dietpi-rock4cp/main/dietpi-add-overlay
instead of the intended
https://raw.githubusercontent.com/herrfrei/dietpi-rock4cp/main/dietpi-add-overlay
*Fun fact*: "root" is an existing GitHub user, so if that user were to
create their own repository with the same name and put malicious scripts
there, all kinds of "interesting" things could happen 😄
The second reason is that the scripts have the wrong download repository
name, using "dietpi-rock4cp" instead of the actual name which is
"dietpi-rpk4pc".
You can work around both problems by doing something like:
curl https://raw.githubusercontent.com/herrfrei/dietpi-rpk4cp/main/rock4cp_usb_otg.sh | USER= REPO=dietpi-rpk4cp bash
(I haven't actually tested whether it works correctly using that, just
that it will download the right things)
—
Reply to this email directly, view it on GitHub
<#883 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWI2ON3B26WZUKWHJYURPT2HGWBJAVCNFSM6AAAAABPGOO3QGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRVHE4DIMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I am configuring a brand new Rock pi 4C+. When I run the installer,
it runs, restarts, then provides
I take it that it's erroring out trying to shrink the volume: lsblk deleting the RESIZE_* and rerunning does not fix the problem. This is on a 240GB Card. after a ton of research, I cannot figure out how to fix this, nor how come nobody else has this problem since I'm following the configuration line by line. Using this image: |
Beta Was this translation helpful? Give feedback.
-
Describe the problem
I have an idea to compile issues mentioned in multiple issues example into single thread, allowing for faster searching.
Device
Rock Pi 4C plus
OS Image
Armbian
Car Model
Model Y
USB connection
Glove box
Logs
No response
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions