I’m trying to boot an Apalis TK1 with an Angstrom-LXDE-Image 2.7b4 and above. It stucks on mounting the root file system.
I’ve read about the change from ext3 to ext4 and have also set uboot to the default values. I’ve checked the emmcargs and it says ext4. But I still get the kernel panic.
Is there anything else I’ve missed or I don’t know, something I’ve to take care?
Can you send a log file of where you got stuck? Thanks
We switched to using ext4. Have a look at the following question.
I have also flashed “back” to v2.7b3 and the board booted normally. Back to v2.7b4 and it stuck. The images are the originals from your website.
I’ve added the boot output (first boot after flashing).
Yes I’ve seen the switch in the file system, as I already remarked in my first post. When I switched back to v2.4b3 I’ve also set the environment to default (ext3). Flashing again with v2.7b4 and setting the default environment to have ext4 didn’t get a successful boot. Btw in my log file you can see that the kernel reports “tried: ext4”.
Yes I’ve seen the switch in the file system, as I already remarked in my first post.
Yeah, sorry. I totally overread that one.
When I switched back to v2.4b3 I’ve also set the environment to default (ext3). Flashing again with v2.7b4 and setting the default environment to have ext4 didn’t get a successful boot. Btw in my log file you can see that the kernel reports “tried: ext4”.
It looks like
JBD2: Unrecognised features on journal is the issue. How exactly did you go about flashing the stuff? Did you use the legacy update procedure or the Toradex Easy Installer? In case of the former what exact host distribution did you use?
Thanks for the tip with the host distribution, that and the JBD2 error gave me the hint.
My host distribution I use currently for building the images and the flash files is Debian 9, before Ubuntu 14.04.
Before I had the problem with the TK1 I already made my own image for an iMX6. All with Debian 9, no problem at all. So what’s the difference between them, the Kernel version; 3 vs 4.
So I started some tests.
First I took the standard TK1-Image v2.7b4 (Kernel 3.x) and made the flash files not with Debian 9 again, but with Ubuntu 14.04. And it was a success this time, the system booted.
Then I took the mainline TK1-Image v2.7b4 (Kernel 4.x) and made the flash files with Debian 9. And this was a success too.
The last I did, was taking my own image (based on 2.8b1, Kernel 3.x) - made with Debian 9 - but I made the flash files with Ubuntu 14.04. It was also a success.
So, if you made the flash files with Debian 9, you get a rootfs with a version of ext4 the Kernel 3.x doesn’t understand correctly, but the Kernel 4.x does.
My problem seems to be solved and I thanks for the help.
Interesting, another good reason to switch to the Toradex Easy Installer I guess.