Jump to content

brubetinha

Members
  • Posts

    4
  • Joined

  • Last visited

  1. Hi Luiz! We are testing an Armbian image with ext4 using a good quality card (panasonic) but we are still facing a lot of problems. Our writing tests (local database mainly) don't pass 48h before the sd cards start to present problems and after some days they stop working completely. Have you found a solution to your problems ? Do you have an advice for us ? Regards Bruna
  2. Hi! Thank you for your reply. We will try these options!
  3. Hi everybody! We have an application that uses RS-485 and we decided to use the OMAP UART implementation, but it doesn't seems to work with Cubieboard A10. We tried to enable in userspace, by calling ioctl and also via dts file. ioctl (C code): ------------------------ ... if (ioctl (fd, TIOCGRS485, &rs485conf) < 0) { printf("Error: TIOCGRS485 ioctl not supported.\n"); } /* Enable RS-485 mode: */ rs485conf.flags |= SER_RS485_ENABLED; /* Set rts/txen delay before send, if needed: (in microseconds) */ rs485conf.delay_rts_before_send = 0; /* Set rts/txen delay after send, if needed: (in microseconds) */ rs485conf.delay_rts_after_send = 0; if (ioctl (fd, TIOCSRS485, &rs485conf) < 0) { printf("Error: TIOCSRS485 ioctl not supported.\n"); <---------- Always get this error message! } ... dts file: ----- serial@01c28c00 { compatible = "snps,dw-apb-uart"; reg = <0x1c28c00 0x400>; interrupts = <0x4>; reg-shift = <0x2>; reg-io-width = <0x4>; clocks = <0x30 0x13>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart3_pins>; /* No extra delay after/before transmissions */ rs485-rts-delay = <0 0>; /* GPIO pin PG8 for data direction */ rts-gpio = <0xC8>; /* Enable RS-485 */ linux,rs485-enabled-at-boot-time; }; Does anyone knows what could be wrong or if the Cubie doesn't support this feature ? Thank you, Bruna
  4. Hello Luiz! Thank you for sharing, we were facing the same problems here and recently we decide to change to SD card. Our idea is to create 3 partitions: 1 read only, 1 "data" partition and 1 backup partition, but we are concern about the maximum write cycles. So we thought about using a different filesystem, like JFFS2 or UBIFS rather than EXT2/3/4, even we knowing that they aren't meant for block devices. Did you try somenthing like this ? What do you think about it ? Thanks Bruna
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines