UBIFS trouble

Juergen Borleis jbe at pengutronix.de
Tue Nov 29 03:02:23 PST 2016


Hi,

with an older barebox (2015.08) I can see in my NOR:

barebox at board: ls -l /mnt/nor0.file-system.ubi.rootfs/boot/
-rw-r--r--    1686716 System.map-4.1.0-none-board
-rw-r--r--      67615 config-4.1.0-none-board
lrwxrwxrwx         30 initrd.img -> initrd.img-4.1.0-none-board
-rw-r--r--    2180972 initrd.img-4.1.0-none-board
lrwxrwxrwx         67 oftree -> ../usr/lib/linux-image-4.1.0-none-board/omap3-mfr-board.dtb
-rw-r--r--    3375248 vmlinuz-4.1.0-none-board
-rw-r--r--    3426056 vmlinuz-ptx-board
lrwxrwxrwx         15 zImage -> vmlinuz-ptx-board

A 4.1 Linux kernel sees this filesystem in the same manner:

root at board:~# ll /boot/
total 10496
-rw-r--r-- 1 root root 1686716 Jul 11  2016 System.map-4.1.0-none-board
-rw-r--r-- 1 root root   67615 Jul 11  2016 config-4.1.0-none-board
lrwxrwxrwx 1 root root      30 Oct 24  2016 initrd.img -> initrd.img-4.1.0-none-board
-rw-r--r-- 1 root root 2180972 Oct 24  2016 initrd.img-4.1.0-none-board
lrwxrwxrwx 1 root root      67 Oct 24  2016 oftree -> ../usr/lib/linux-image-4.1.0-none-board/omap3-mfr-board.dtb
-rw-r--r-- 1 root root 3375248 Jul 11  2016 vmlinuz-4.1.0-none-board
-rw-r--r-- 1 root root 3426056 Oct  1  2016 vmlinuz-ptx-board
lrwxrwxrwx 1 root root      15 Oct  1  2016 zImage -> vmlinuz-ptx-board

A fresh barebox (2016.11.0) sees this filesystem differently:

barebox at board:/ ls -l /mnt/nor0.file-system.ubi.rootfs/boot/
-rw-r--r--        1686716 System.map-4.1.0-none-board
-rw-r--r--          67615 config-4.1.0-none-board
-rw-r--r--        2180972 initrd.img
-rw-r--r--        2180972 initrd.img-4.1.0-none-board
/mnt/nor0.file-system.ubi.rootfs/boot//oftree: No such file or directory
-rw-r--r--        3375248 vmlinuz-4.1.0-none-board
-rw-r--r--        3426056 vmlinuz-ptx-board
-rw-r--r--        3426056 zImage

Any idea?

jb

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |



More information about the barebox mailing list