Hirdetés

Új hozzászólás Aktív témák

  • cof

    veterán

    válasz kovakovi77 #69946 üzenetére

    Még sajnos én sem találtam meg Csicsóka leírását.

    Viszont UART-al bűvészkedek, bár lehet, hogy teljesen rossz vonalon vagyok. Arra már rájöttem, hogy nincs rajta partíció, egy sem, mert az mmc part nem ad vissza semmit.

    gxb_p200_v1#mmc part
    gxb_p200_v1#

    Tönkre sem ment szerintem fizikailag mert látszik. Bár azt nem értem, hogy miért Capacity: 7.2 GiB. Talán 2 db 8 GB-s chip.

    gxb_p200_v1#mmc dev 1
    emmc/sd response timeout, cmd8, status=0x3ff2800
    emmc/sd response timeout, cmd55, status=0x3ff2800
    [mmc_init] mmc init success
    mmc read lba=0x14000, blocks=0x400
    Amlogic multi-dtb tool
    Cannot find legal dtb!
    start dts,buffer=0000000073ed0420,dt_addr=0000000073ed0420
    get_partition_from_dts: FDT_ERR_BADMAGIC
    !!!!get dts FAILED
    mmc get partition error!
    switch to partitions #0, OK
    mmc1(part 0) is current device
    gxb_p200_v1#mmcinfo
    Device: SDIO Port C
    Manufacturer ID: 65
    OEM: 646f
    Name: M MOR
    Tran Speed: 25000000
    Rd Block Len: 512
    MMC version 4.41
    High Capacity: Yes
    Capacity: 7.2 GiB
    Bus Width: 8-bit

    Néztem még egy Linux dokumentációt amiben találtam egy u-boot visszaírásra való utalást. [link]

    Replace original uboot with the new one under uboot prompt:
    # mmcinfo
    # fatload mmc 0 ${loadaddr} u-boot.bin
    # store rom_write ${loadaddr} 0 120000
    # fatload mmc 0 ${loadaddr} gxl_p212_2g.dtb // This step writes a valid dtb first
    # store dtb write ${loadaddr}
    # reset

    Sajnos ez is hibára fut az írásnál. Gondolom a partíciók hiánya miatt.

    gxb_p200_v1#mmcinfo
    Device: SDIO Port C
    Manufacturer ID: 65
    OEM: 646f
    Name: M MOR
    Tran Speed: 25000000
    Rd Block Len: 512
    MMC version 4.41
    High Capacity: Yes
    Capacity: 7.2 GiB
    Bus Width: 8-bit
    gxb_p200_v1#fatload mmc 0 ${loadaddr} u-boot.bin
    reading u-boot.bin
    868352 bytes read in 43 ms (19.3 MiB/s)
    gxb_p200_v1#store rom_write ${loadaddr} 0 112500
    Cannot find dev.
    amlmmc cmd <NULL> failed

    store - STORE sub-system

    Usage:
    store store init flag
    store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
    store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
    store rom_write add off size.
    write uboot to the boot device
    store erase boot/data:
    erase the area which is uboot or data
    store erase dtb
    store erase key
    store rom_protect on/off
    store scrub off|partition size
    scrub the area from offset and size
    store dtb iread/read/write addr <size>
    read/write dtb, size is optional
    store key read/write addr <size>
    read/write key, size is optional

    gxb_p200_v1#

    Most valami olyan script vagy parancs után kutatok amivel létre tudnám hozni a partíciókat.

    [ Szerkesztve ]

    Eladó cuccok: https://bit.ly/cofcuccok

Új hozzászólás Aktív témák