martinayotte

Members
  • Content count

    487
  • Joined

  • Last visited

About martinayotte

  • Rank
    Embedded member

Recent Profile Visitors

216 profile views
  1. If you insert a bootable SDCard, it will boot from it, not from eMMC. If it still booting from eMMC, this means your SDCard itself or it's image or SDCard socket has a problem.
  2. What do you mean by "undo" ? Do you simply wish to erase it ? (because SDCard has the boot priority, simply insert it)
  3. Having analog input pins floating act like antenna. You should add some pull-down resistors to prevent that.
  4. Well, as you discovered, Zador's discovery against previous version was important, not for the 4K limitation but for the FIFO size. Yesterday, I've done only quick tests, so, I'm still apologized for having missed that one.
  5. Folks, I apologize not having reviewed Icenowy's version properly about sun6i_spi_max_transfer_size(). I think I will ping her about this issue ...
  6. Enjoy your new SPI ! Now you can build small SPI-NOR adaptor, upload U-Boot SPL to this Flash using flashcp, and enjoy booting from USB-Drive without any SDCard ...
  7. Can you try with the one I've placed in attachment ? sun8i-h3-spi0-spidev.dtbo
  8. @willmore, have you done "mkdir /sys/kernel/config/device-tree/overlays/spi" before doing the "cat" ? Do you have a pseudo file /sys/kernel/config/device-tree/overlays/spi/status ? Can you "cat" to see if it contains "applied" or "unapplied"
  9. That would be great !
  10. You've probably missed some steps about overlays. Try manually the following steps, although not the same way as described in the above post : mkdir /sys/kernel/config/device-tree/overlays/uart1 cat /boot/dtb/overlay/sun8i-h3-uart1.dtbo > /sys/kernel/config/device-tree/overlays/uart1/dtbo python import serial port = serial.Serial("/dev/ttyS1", 115200, timeout=1) while True: while serport.inWaiting() > 0: c = serport.read() print c
  11. Simply use python-serial. http://pyserial.readthedocs.io/en/latest/shortintro.html
  12. testers wanted

    Yes, the spidev_test.c can be found on any kernel tree under tools/spi/spidev_test.c or on Linus mainline https://github.com/torvalds/linux/blob/master/tools/spi/spidev_test.c
  13. testers wanted

    Of course !
  14. testers wanted

    Since Dallas Semiconductor strongly suggest to use 4K7 Pull-Up for OneWire bus, I wouldn't rely on weak internal Pull-Ups which one some SoC are greater than 30K, especially if there are multiple sensor on the same bus or if those have long wires.
  15. I have one of my OPiPC+ that has such trouble, it has a false contact with some of SDCard, which thickness could vary a bit, I simply added a piece of folded paper to make it thicker and false contact disappeared.