Skip to content

corrupted ext4 tree file view #21

@Zbysiu3cytryny

Description

@Zbysiu3cytryny

Hello, i have CI20 V2 which i wanted to boot from sd card.
I did compile it on CI20 itself, which you can see on this lines of code:

ci20# version

U-Boot 2013.10-rc3 (Apr 06 2025 - 14:25:57)
mipsel-linux-gnu-gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
ci20#

since there is no codebench toolchain available so i had to do it in this way.
u-boot recognizes my partition with rootfs filesystem, also with directories.

ci20# mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     4096            31112192        da80928f-01     83
ci20# 
ci20# 

U-Boot 2013.10-rc3 (Apr 06 2025 - 14:25:57)

Board: ci20 (r2) (Ingenic XBurst JZ4780 SoC)
DRAM:  1 GiB
NAND:  8192 MiB
MMC:   jz_mmc msc1: 0
*** Warning - bad CRC, using default environment

In:    eserial4
Out:   eserial4
Err:   eserial4
Net:   dm9000
Hit any key to stop autoboot:  0 
** File not found /boot/uImage **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ci20# 

output from booting
there is also attachment where you can look how files look like under ext4ls, also i have output how files looks like under my system:

╰─>$ ls -al
razem 92
drwxr-xr-x   21 root root  4096 04-06 16:37 ./
drwxr-x---+   3 root root    60 04-06 19:56 ../
drwxr-xr-x    2 root root  4096 2016-05-25  bin/
drwxr-xr-x    2 root root  4096 2016-05-25  boot/
drwxr-xr-x    2 root root  4096 2016-06-02  dev/
drwxr-xr-x  114 root root  4096 2016-06-01  etc/
drwxr-xr-x    3 root root  4096 2014-06-25  home/
drwxr-xr-x   19 root root  4096 2016-05-25  lib/
drwx------    2 root root 16384 2014-12-19  lost+found/
drwxr-xr-x    2 root root  4096 2012-06-01  media/
drwxr-xr-x    2 root root  4096 2015-08-10  mnt/
drwxr-xr-x    3 root root  4096 2012-06-01  opt/
drwxr-xr-x    2 root root  4096 2014-04-20  proc/
drwxr-xr-x   18 root root  4096 2016-06-02  root/
drwxr-xr-x    2 root root  4096 2016-06-01  run/
drwxr-xr-x    2 root root  4096 2016-05-25  sbin/
drwxr-xr-x    2 root root  4096 2012-06-01  srv/
drwxr-xr-x    2 root root  4096 2013-07-18  sys/
drwxrwxrwt    7 root root  4096 2016-06-02  tmp/
drwxr-xr-x   10 root root  4096 2015-01-08  usr/
drwxr-xr-x   11 root root  4096 2015-08-17  var/
┬─[zbysiu@komp:/r/m/z/a6cbafaa-8528-4636-82cd-137f42937fcd]─[19:58:38]
╰─>$ ls -al /run/media/zbysiu/a6cbafaa-8528-4636-82cd-137f42937fcd/boot
razem 7212
drwxr-xr-x  2 root root    4096 2016-05-25  ./
drwxr-xr-x 21 root root    4096 04-06 16:37 ../
-rw-r--r--  1 root root   97701 2016-05-25  config-3.18.3-ci20-1
-rw-r--r--  1 root root 2003085 2016-05-25  System.map-3.18.3-ci20-1
lrwxrwxrwx  1 root root      20 2016-05-25  uImage -> uImage-3.18.3-ci20-1
-rw-r--r--  1 root root 5270623 2016-05-25  uImage-3.18.3-ci20-1

message.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions