Install Libreelec on Celestial CNC1800L

  • Hi,

    This is my first post in the forum so please bear with me if I'm posting in the wrong section.

    I borrowed an old non-functional streaming/iptv box from a friend and trying to resurrect it with Libreelec. I am able to get in the box via uart, can access u-boot, know many details about the box. I am putting my findings below. My investigation indicates that the box is somewhat similar to RPi B+ board and I am investigating if it's possible for me to install Libreelec (RPi 1 or B+ version) on this box. The box has 256MiB NAND flash with some bad blocks, 512MiB RAM and an SD card slot. Here are the details, I can find:

    Here are the details of mtd partitions with names

    Code
    # cat mtd
    dev:    size   erasesize  name
    mtd0: 00300000 00020000 "uboot"  // 300000 -> 3MiB
    mtd1: 00600000 00020000 "Kernel" // 600000 -> 6 MiB
    mtd2: 07400000 00020000 "fs"     // 7400000 -> 74 MiB
    mtd3: 00700000 00020000 "logo"   // 700000 -> 7 MiB
    mtd4: 07c00000 00020000 "extra_space" // 7c00000 -> 124 MiB

    I can get into u-boot and it's also possible to read/write/erase the NAND flash. Here are the details of some of the u-boot environment variables:

    Code
    CNC1800L> printenv bootcmd
    bootcmd=gpio write 2 1; nand read.jffs2 0x2300000 0x07D00000 0x402000; logo 5 2 0x2300000 1280 720 0 0 2 0x24C2000; update; nand read.jffs2 0x3000000 300000 0x300000;bootm 0x3000
    NC1800L> printenv bootargs
    bootargs=root=/dev/mtdblock2 ro rootfstype=jffs2 console=ttyS0,115200 mtdparts=cnc_nand.0:3m(uboot),6m(Kernel),116m(fs),7M(logo),-(extra_space) lpj=3235840 quiet


    My question; is it possible to install Libreelec (desgined for RPi 1/B+) on this board. If yes, could someone let me know if it's possible to push the Libreelec to NAND flash via UART? I downloaded the Libreelec version specific for RPi 1/B+ and explored the partitions a bit. It seems it has two partitions, storage and Libreelec. Libreelec partition seems to have kernel and DTBs for various RPi versions. Do I just need to push this partition to NAND flash somehow and will be able to resurrect it with Libreelec?

    Any help in this regard would be great.

    Thanks,

  • No, for the simple technical reason there is zero upstream kernel support for the hardware. An RPi Zero will outclass it by a mile.