Jump to content

All Activity

This stream auto-updates

  1. Today
  2. @Blyato take photos with good resolution with and without shield please
  3. Hello, I wanted to install Linux on my TV box but I'm having problems First I tried to put an Android rom that said it was stock But it doesn't boot and the system doesn't start, it was in loader mode and after I did that it went into maskrom mode and it doesn't come out, everything I try to do gives me the download boot fail I don't know what to do to get out of this mode and install something, all the loader files don't work and the ones that say they work, the links are down
  4. @jock at least I don't think it's a phone wifi module, you know a way I could check software wise? Or only way would be trying to remove the shield of the module to expose the chip? Would mean the world to me if I could make the wifi work, I have a USB wifi adapter but the problem is that I cant use antenna with it (would have to buy another one that does :/)
  5. Yeah, don't know what Tencent is thinking, I don't like the experience at all, I reason I bought it simply because it's the most affordable and available hardware around at that point of time. I never notice this one coming --"RK3576", I'll keep my eye on this, thanks for sharing this, very interesting.
  6. @Blyato that's very difficult wifi is getting working if it is yet another unkown chinese vendor chip. From the photo i can't identify it, but have never seen such silhouette
  7. Sure. As a beginner, I just won't update it. Or trying to understand the MiniArch desktop-installing thing on another card, it had no problem with upgrade somehow, still works, but on command line only.
  8. Hello ! I thought to have found a work around by doing a first access to by pass "the unexpected timing", but time to time it does not work ! See code of the work around tested: void spi_transfer(enum Chip chip, unsigned char* txBuffer, size_t len, bool with_rx) { int ret; int fd; uint8_t bits; uint32_t speed; uint8_t mode; unsigned short delay; char * tx = NULL; char * rx = NULL; char hex_dump_tx_prefix[9] = {0}; char hex_dump_rx_prefix[9] = {0}; switch(chip){ case RADIO: fd = st_spi.fd_radio; speed = st_spi.speed_radio; mode = st_spi.mode_radio; bits = st_spi.bits_radio; delay = st_spi.delay_radio; strcpy(hex_dump_tx_prefix,"tx_radio"); strcpy(hex_dump_rx_prefix,"rx_radio"); break; case RTC: fd = st_spi.fd_rtc; speed = st_spi.speed_rtc; mode = st_spi.mode_rtc; bits = st_spi.bits_rtc; delay = st_spi.delay_rtc; strcpy(hex_dump_tx_prefix,"tx___rtc"); strcpy(hex_dump_rx_prefix,"rx___rtc"); break; case FLASH: fd = st_spi.fd_flash; speed = st_spi.speed_flash; mode = st_spi.mode_flash; bits = st_spi.bits_flash; delay = st_spi.delay_flash; strcpy(hex_dump_tx_prefix,"tx_flash"); strcpy(hex_dump_rx_prefix,"rx_flash"); break; default: printf("Unexpected chip value !\n"); exit_with_trace(EXIT_STATUS_SPI_ERROR, ulTraceModule, __FUNCTION__, __FILE__, __LINE__); break; } tx = malloc(len); check_malloc(tx, ulTraceModule, __FILE__, __LINE__); rx = malloc(len); check_malloc(rx, ulTraceModule, __FILE__, __LINE__); memcpy (tx, txBuffer, len); unsigned char payload_wa_radio[2] = {0x20, 0x00}; struct spi_ioc_transfer tr_wa_radio = { .tx_buf = (unsigned long)payload_wa_radio, .rx_buf = (unsigned long)0, .len = 2, .delay_usecs = delay, .speed_hz = speed, .bits_per_word = bits, }; struct spi_ioc_transfer tr = { .tx_buf = (unsigned long)tx, .rx_buf = (unsigned long)rx, .len = len, .delay_usecs = delay, .speed_hz = speed, .bits_per_word = bits, }; if (mode & SPI_TX_QUAD) { tr.tx_nbits = 4; } else if (mode & SPI_TX_DUAL) { tr.tx_nbits = 2; } if (mode & SPI_RX_QUAD) { tr.rx_nbits = 4; } else if (mode & SPI_RX_DUAL) { tr.rx_nbits = 2; } if (!(mode & SPI_LOOP)) { if (mode & (SPI_TX_QUAD | SPI_TX_DUAL)) { tr.rx_buf = 0; } else if (mode & (SPI_RX_QUAD | SPI_RX_DUAL)) { tr.tx_buf = 0; } } #if DBG_SPI hex_dump(tx, len, 32, hex_dump_tx_prefix); #endif //toolMutexLock(&MutexSPI); if (chip == RADIO) { // This part of code is a workaround for the radio because the radio spi is touchy to the clock timing of // the first spi access as the mode is set during the first access. // The workaround consists in doing a first access without impact on the radio configuration to bypass the // issue, and then a second access to really execute the spi command. // For the first access, we send command "0x00, 0x20" which is interpreted by the radio "0x00, 0x10" due to the // the clock timing. So we only do a read access at the address 0 of the config register without impact on the radio configuration. // Let's see task #30190 for more details. ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr_wa_radio); if (ret < 1) { printf("can't send spi message\n"); exit_with_trace(EXIT_STATUS_SPI_ERROR, ulTraceModule, __FUNCTION__, __FILE__, __LINE__); } } ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); if (ret < 1) { printf("can't send spi message\n"); exit_with_trace(EXIT_STATUS_SPI_ERROR, ulTraceModule, __FUNCTION__, __FILE__, __LINE__); } //toolMutexUnlock(&MutexSPI); if (with_rx == true) memcpy (txBuffer, rx, len); #if DBG_SPI hex_dump(rx, len, 32, hex_dump_rx_prefix); #endif free(rx); free(tx); } See capture bellow doing a read access in loop on the radio spi. Time to time, there is also an expected CLK timing on the second access. Conclusion: Doing a first access to bypass the unexpected timing is not enough. I have to add something else or find another solution ...
  9. If there's a kernel or u-boot update then your box won't boot. The kernel and u-boot need patches from my repository for it to work on your box. There are no apt packages for this. I guess you need to burn another sdcard and start from scratch.
  10. If you want to upgrade the userspace flavor on top (like Jammy to Noble for example) it is indeed recommended to start from scratch. If you want to upgrade the Armbian core components like firmware, kernel and boot-loader, these upgrades are shipped as regular apt package.
  11. Hi, Thanks, I've tried both working image on my h618 Transpeed tv-box. I have some newbie questions: - On the miniarch image: I managed to upgrade + setup the wifi, and it works, but I cannot install any desktop environment. I've done every steps and tried a lot different desktop environment, but no luck, it won't start, remains in the text console. Is it possible to install a (simple, like xfce4) desktop environment? How? - On the Armbian image: everithing works fine (I used an usb hub+usb wifi+bt, internal not working), and there is a working desktop environment, which is great! But I've tried to upgrade (apt update + apt upgrade) and the upgrade maybe messed up the boot somehow, the device won't boot since the upgrade. Is it possible to upgrade the Armbian image? How? Thanks, Sidha
  12. I answer myself: the overlays are here: https://github.com/radxa/overlays/tree/main You need to take the desired overlay, compile it using dtc and put it in the /boot/dtb/rockchip/overlay folder. Next, turn on the overlay in armbian-config and voila root@proc01:/home/victor# ls /dev/ | grep spi spidev1.0
  13. So, if I want to upgrade the Armbian version, I have to do an installation from scratch and migrate everything, right? Thanks
  14. Description Support partner. How Has This Been Tested? [x] Was reported as working good. Checklist: [x] Any dependent changes have been merged and published in downstream modules View the full article
  15. For Armbian updates regular code { font-family: Consolas,"courier new"; color: crimson; background-color: rgba(0, 0, 0, 0.2); padding: 2px; font-size: 105%; } apt update && apt upgrade will be sufficient. If you however want to change your userspace (like Jammy to Noble) this is out of scope of Armbian and upstream tools (like do-release-upgrade in case of Ubuntu) have to be used. Armbian firmware and userspace are two pair of shoes. Armbian cannot handle userspace upgrades by itself simply due to lacking of both human and financial resources for development and testing lots of various scenarios. This is also the reason why doing this is not recommended and therefore entirely unsupported by us.
  16. Good morning I don't quite understand everything. I understand that do-release-upgrade is not the right way to upgrade Armbian. So what is the right way? Thanks
  17. root@proc01:/home/victor# cat /boot/armbianEnv.txt verbosity=1 extraargs=swiotlb=1024 overlay_prefix=rk3308 fdtfile=rockchip/rk3308-rock-pi-s.dtb rootdev=UUID=cc500ad0-fef5-4af1-8ed7-68c3db5f4a19 rootfstype=ext4 console=serial overlay=spi-spidev param_spidev_spi_bus=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u victor@proc01:~$ ls /dev/ | grep spi victor@proc01:~$ dmesg | grep spi victor@proc01:~$
  18. Hello everybody! I need help: I can't turn on the SPI interface in any way so that /dev/spidev0 or /dev/spidev1 appears. In armbian-config, there are generally only 7 lines in the hardware section, in which there is nothing interesting, an attempt to register spidev in armbianEnv.txt it also does not help, in dmesg and journalctl - silence... Where did the interface go?
  19. Hello, thanks for the guide and such, I was able to successfully use the rkdeveloptool method to flash the R29-5G-LP3-v3.0 (MXQ-5G-Pro) I guess there is no way of using the Wifi device of this board? Thanks anyway ❤️ edit: I have run already the rk322x-config and the hdmi is working, just wondering about the wifi ❤️
  20. Yesterday
  21. I have a question ❓️ If I found driver ethernet I can Install on miniarch I don't need to install endeavouros
  22. You need install lightdm manually, welcome to Arch world, everything need medium/advanced knowledge in linux... 😅
  23. Thank you friend Usb thetering done Install done After installing endeavouros How to boot to os
  24. Hello, both the versions you used share exactly the same kernel, so it is unclear to me the reason only the Jammy image boots. Actually, I don't understand why you did not use the multitool to install the armbian image and doing maintenance, but however... You can actually edit /boot/armbianEnv.txt and set verbosity=7 to have more kernel logging and perhaps something will pop up. Hint: dmesg log is basic stuff to do debugging, if you can provide it, it could be very useful.
  25. So it just boots directly to oowow. There is a menu item for shutdown or reboot. Reboot tells you to remove any sdcards beforehand. So I didn't. And the sdcard booted. It has installed, and reboot works. I installed to emmc and nvme. So far so good. Tried the ts1040 screen once. It might ve not been plugged correctly. Dead computer. I need to try the other direction. Copper down.
  1. Load more activity
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines