Jump to content

spi_master: No such file or directory

zogthegreat

Hi everyone!

 

I snagged a Dell WYSE 3020 thin client on eBay for $8 USD as a toy to play around with. I'm trying to follow the instructions found here to get Open Firmware installed:

 

https://linux-mmp.docs.kernel.org/dell-wyse-3020.html#

 

I've made the bootable USB and connect my Raspberry Pi with a 4 pin USB to serial cable. I have the white wire connected to TX, green to RX and gnd to gnd as described in the document:

 

         ___
        |   |
CN4502  | o | TX
Debug   | o | RX
Conn1   | o | GND
        | o |
B       | o |
        |___|

When I try to flash via the command line, I get the following:

 

pi@raspberrypi:~/Documents $ echo spidev >/sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override

 

-bash: /sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override: No such file or directory


 

I've tried to play around with the configuration in flashrom, but no luck. I'm assuming that the problem is a PEBKAC, so I figured it was time to get some help.

 

Does anyone have any suggestions?

 

Thanks!

 

zog

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Either the file exists and you do not have permissions to write to it, or one of the directories in that tree does not exist. I'm guessing it is the latter case and that you copy and pasted that line, which was correct at some point but now one of the numbers in the directory names changed or something like that. Start at /sys/ and go down through the directory chain until you find the one that does not exist, and then try to figure out which one DOES exist now that you can use instead. Hope that made sense

Join the Appleitionist cause! See spoiler below for answers to common questions that shouldn't be common!

Spoiler

Q: Do I have a virus?!
A: If you didn't click a sketchy email, haven't left your computer physically open to attack, haven't downloaded anything sketchy/free, know that your software hasn't been exploited in a new hack, then the answer is: probably not.

 

Q: What email/VPN should I use?
A: Proton mail and VPN are the best for email and VPNs respectively. (They're free in a good way)

 

Q: How can I stay anonymous on the (deep/dark) webzz???....

A: By learning how to de-anonymize everyone else; if you can do that, then you know what to do for yourself.

 

Q: What Linux distro is best for x y z?

A: Lubuntu for things with little processing power, Ubuntu for normal PCs, and if you need to do anything else then it's best if you do the research yourself.

 

Q: Why is my Linux giving me x y z error?

A: Have you not googled it? Are you sure StackOverflow doesn't have an answer? Does the error tell you what's wrong? If the answer is no to all of those, message me.

 

Link to comment
Share on other sites

Link to post
Share on other sites

@LtStaffel,

 

Thanks for the help. It turns out that somehow or other, I was running the instructions in the wrong order.... in other words, PEBKAC! :old-blush:

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×