01:45 | heap_> | hi. i have sd card wit files needed for boot only ; fs is on usb drive; but sd card got corrupted ; and chance to somehow restore it? i can see data (files/dir ) struck but when doing rsync its failing ;/ |
01:46 | heap_> | smth as ext4-fs error hrree_driblock_To_Tree ... bad entry in dir.. etc |
01:46 | heap_> | any clue? |
01:46 | heap_> | i can copy whole /boot dir but how to copy bootloader? |
05:55 | jnettlet[m]> | heap_: for which device? |
11:22 | heap_> | jnettlet[m]: cubox-i its debian |
11:28 | jnettlet[m]> | heap_: just write a new u-boot to the sdhc card. If you use the latest master-mx6 branch it supports booting from usb drives if you are using a boot.scr or extlinux |
11:30 | jnettlet[m]> | or you can just grab a new debian image put it on the sdhc card boot off of that and access the usb drive |
11:31 | jnettlet[m]> | If you want you can try the new debian stretch image we are testing with the 4.9 kernel |
11:32 | heap_> | hm |
11:32 | heap_> | what is the latest image? |
11:32 | heap_> | well i wante to use the same one i have on my crd |
11:32 | heap_> | i dont wanna install new stuff now |
11:33 | heap_> | can i somehow dd the old one to new card? |
11:36 | jnettlet[m]> | if the filesystem is corrupt and you dd it to the new card, the new cards fs will also be corrupt |
11:51 | heap_> | not whole fs is corrut |
11:51 | heap_> | corrupt |
11:51 | heap_> | i can copy /boot |
11:52 | heap_> | without problems |
11:52 | heap_> | all i need is /boot + bootloader |
11:52 | heap_> | it partially surrvived |
12:17 | heap_> | jnettlet[m]: could you please provide a link to the latest stable debian for cubox-i also do you know which sectors boot loader occupies so i can try to dd it out? |
13:57 | Ke> | actually I could just get some temp sensors for my arduino watchdog |
14:18 | heap_> | jnettlet[m]: any idea? |
14:27 | Ke> | heap_: it's probably like this http://wiki.wandboard.org/index.php/Boot-process |
14:28 | Ke> | ie. at 1K or third sector |
16:01 | jnettlet[m]> | heap_: https://wiki.solid-run.com/doku.php?id=products:imx6:software:development:u-boot |
16:01 | jnettlet[m]> | https://wiki.solid-run.com/doku.php?id=products:imx6:software:os:debian |
16:02 | jnettlet[m]> | For any interested a new rebased u-boot is up for consumption. https://github.com/SolidRun/u-boot/tree/v2018.01-solidrun-imx6 |
16:03 | jnettlet[m]> | if you are using eMMC, then this makes it very easy to bootstrap using imx_usb_tool and an external usb drive with a debian rootfs on it. |
16:44 | vpeter> | jnettlet[m]: Do you know in what shape in openwrt sr branch? Or better to use lede. I'm starting to have some issues with network - need to reboot modem and/or clearfog to get stable connection. Maybe I should check this commit https://github.com/SolidRun/openwrt/commit/c593bd1fbc9159ace9a58270efed043c8f816dd4 |
16:44 | vpeter> | But this one is uboot related. |
17:38 | jnettlet[m]> | vpeter: openwrt master is just lede mainline and our sr branch is just our patches rebased on it. Should be fine. |
17:39 | vpeter> | Thanks. |
17:40 | jnettlet[m]> | I think there are still some pcie wifi detection issues on boot. They are mostly fixed but I have one unit here I can reproduce it with and am using to debug. |
17:41 | jnettlet[m]> | I think it is a timing issue on the initialization, same stuff that we had to work through on mx6 |
17:42 | jnettlet[m]> | File a bug against anything you find in our github and we can track it there. |
17:54 | vpeter> | Well, pci wifi detection is stable but some time ago packet loss happens . Maybe it is related to modem firmware update. That's why I would like to check some new version. |
18:35 | jnettlet[m]> | Give it a try and file bugs. I will be moving this forward. |