Jump to content

crossmax

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by crossmax

  1. Hi guys! I've a project with raspberry pi B+ and a usb modem for communication with server. Is a unattended system but I've many problems with communication cuts and memory card corrupted. Communications is not important issue, because isn't a real time system, and I manage the cuts with own scripts. In the other hand, the memory card corruption is a damn headache. I think that problem is caused by the model B+ because I've other similar project with model A+ and I haven't this problem. The reason for my question is that I'm looking for alternatives to the raspberry pi B+. I tested Orange Pi 2G-IOT, but is very unestable and I discard it. What borad do you recommend me with this requirements: - Compatible with my C code - Compatible with GPIO (if is possible) because I need a RS485 port and I've a hat - Estable GPRS module (better if is integrated on board) - And as always, better if is cheap Thanks so much for advise!!
  2. A long list of device!! No doubt you know many SBC In production scenarios I included improvements like locating logs in ram (/var/log), logrotate with compression every night and reduce permanent writes setting up in fstab (e.g. root partition noatime,nodiratime,data=writeback,discard,errors=remount-ro 0 0). I don't remember if I adding some little thing, but test a lot of them. Now, thanks to you I have realized that I have to eliminate a third partition created for me to save some logs when I move it from ram to sd card. I thought it was a good solution to reduce the probability of corrupting the root partition. Also, I just put to try to make an initramfs work, do I have to keep anything in mind? If run initramfs at boot, I'll can to run fcsk over rootfs if is corrupt, right? And, after that, run the "normal" kernel. I greatly appreciate the help
  3. Thansk for the master class So, what other SBC did you used without corruption errors? I would like to test other options, as I have done with orange pi, but if the gpio pins are not compatible with raspberry the advantages against this have to be important so that it is worth making software changes. I will try to launch an initramfs. If I can check the rootfs and fix it, I will considerably reduce the time out of service of the device. Thanks for the tip.
  4. Thanks for both comments. I've to read too much but this articles are so interesting. Some options that are discussed in the articles I've used time ago and I'm getting less microsd errors. And, if I've thinking for a while, where had more microsd errors was on projects with raspberry pi B. Some broken microsd with A+, but many less, 2 or 3 cards to throw away. There is one thing that troubles me, and that I have not yet read anywhere. Many times I corrupt the cards, but are recoverable with run fsck inserting the card into a pc. It rarely happens that the card is unrecoverable runs fsck. Why this difference in card corruption? Thanks for all great info
  5. Hi! I'm testing some orange pi device for use it on my projects as a substitute for raspberrypi. I need a device with OS installed on emmc. I have not had good experiences with microsd on raspberrypi due to data corruption. I thought that orangepi device with emmc flash was a good option. However I'm realizing that it is not as compatible as I thought. Make the spi display and spi smart reader work I think that's crazy. For this reason I ask you the following: Whitch device is most compatible with raspberry pi at gpios level? If had emmc or something more robust then microsd it would be better. thanks in advence
  6. Hi, Anyone knows if is possible flashing the 500MB nand flash? Thanks
  7. OK, sorry. And thank you for the advice about change sd card.
  8. An other question, It is possible run armbian from emmc? Or, said in other words, Can I install armbian to emmc on orange pi 2G? I've seen that it has 500MB flash.
  9. OMG!! I tried with other Sandisk 8GB Class10 and works like a charm!! I'm reading about wifi setup from serial port. Thanks
  10. Hi, I'm trying boot from SD card and always get the same error: RDA8810 Boot_ROM V1.6 HW_CFG: pr86 SW_CFG: 0000 Load EMMC Open eMMC EMMC OCR timeout Open eMMC card Failed Load EMMC Fail Load SD Open SD card mcd_Open ACMD41, Retry Timeout Open SD card Failed Load SD Fail Setup USB PLL done Setup BUS PLL done reset musb otg core... Press 'Q' to quit PDL loading wait for connect.... I tried with two differents SD cards (Toshiba 8GB Class10 and Sandisk Ultra 32GB), with differents images (Armbian, Debian server, Ubuntu server), with differents writter programs (Win32Disk on win10 and dd on ubuntu) and with differents power supplies (1A and 2A). What do I doing wrong? Thanks
  11. Hi to all! I'm taking my first steps with an Orange Pi PC+. Before I did projects with raspberry pi, but the extra functionality provided by emmc memory has made me decant for orange pi. So my problems are related to the compatibility of gpio functionality. I have two SPI devices (TFT and RFID reader), and I want use PA21 pin for SPI1_CS. I changed /boot/script.bin file for second SPI activate adding this lines: [spi1] spi_used = 1 spi_cs_bitmap = 1 spi_cs0 = port:PA21<2><1><default><default> spi_sclk = port:PA14<2><default><default><default> spi_mosi = port:PA15<2><default><default><default> spi_miso = port:PA16<2><default><default><default> but I get this error while booting: [ 0.616093] sunxi_spi_request_gpio()1420 - SPI1 devm_pinctrl_get() failed! return -22 [ 0.616108] sunxi_spi_hw_init()1538 - [spi-1] Request GPIO failed! [ 0.616120] sunxi_spi_probe()1703 - spi hw init failed! [ 0.616200] spi: probe of spi1 failed with error -1 How I can setup my armbian to work with my old raspberry code? Thanks in advance!!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines