Giter VIP home page Giter VIP logo

Comments (10)

hxw avatar hxw commented on September 17, 2024

It looks like you are using an older version of Python currently the code runs on 2.7.11.
If you can please update ad you should be ok, if you cannot update and need to continue with older Python version then you will need to change one line in the demo/EPD.py file

Modify line 194 which reads: f.write(image.tobytes()) to be: f.write(image.tostring())

from gratis.

go2srinidhi avatar go2srinidhi commented on September 17, 2024

Thanks,
I did modify as u suggested. No changes on display. :( But the code isn't throwing any errors.

from gratis.

hxw avatar hxw commented on September 17, 2024

I am having problems with BBB, I updated and it no longer boots, I will recover an older image and try that

from gratis.

hxw avatar hxw commented on September 17, 2024

I put the old image at:
https://drive.google.com/file/d/0ByAJ8vCbYBDgTTNLcUVjZVlJcnc/view?usp=sharing

dowload and name it as bbb-1.44.img.xz then extract to an SD card:

$ xz -d < bbb-1.44.img.xz | dd bs=64M of=/dev/sdX

replace /dev/sdX with the right drive to access the USB card writer (be careful!)

The image is 2GB so the card need to be at least this size.

Note: SHA256 of image and its compressed version:

fae9e587a9b51092d05613479aab7a5337b5ab097975851c0f5b13151336362d  bbb-1.44.img
4593775fb20ddd7466c1e33edc709600b7f63c93a726b2036be0b2c20c1bad0c  bbb-1.44.img.xz

There are just root/root and repaper/repaper accounts in the image. repaper will run a tmux session.

from gratis.

hxw avatar hxw commented on September 17, 2024

I have a problem on first start, the epd-fuse fails when counter demo is started but restarting it once seems to be enough, maybe I have it starting too ealy in the boot sequence.

$ python2 CounterDemo.py 1234
# failure here
$ sudo systemctl restart epd-fuse
$ python2 CounterDemo.py 1234

from gratis.

hxw avatar hxw commented on September 17, 2024

Please try if possible it will determine if your hardware is working.

I have tried to update this image, but the latest kernel hangs, even though I removed the device tree file before updating.

from gratis.

go2srinidhi avatar go2srinidhi commented on September 17, 2024

Thanks for the suggestion.
I shall try these things and post the update asap. And also in the near future, i would like to port it to kernel 4.1.13 as my target hardware runs this version. Any suggestions on workarounds to port?

from gratis.

hxw avatar hxw commented on September 17, 2024

Maybe will need to update the device tree file for newer kernel, I used cape universal in this old image and the file is: /lib/firmware/cape-universal-00A0.dtbo

from gratis.

go2srinidhi avatar go2srinidhi commented on September 17, 2024

Thanks,
Am taking care of the device tree stuffs. Anything else in specific to look into?

from gratis.

hxw avatar hxw commented on September 17, 2024

The only thing seems to be that epd-fuse is crashing on first use, not sure why possible systemd service starts it at the wrong time (too early?). Also need to set the service file to restart it on failure. I am using Arch so not sure if this applies to your system (perhaps you use sysvinit or upstart)

from gratis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.