sd_fusing for odroid x2 (and probably others) corrupts ext4

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

sd_fusing for odroid x2 (and probably others) corrupts ext4

Postby e3k » Wed Jun 14, 2017 10:02 am

according to https://archlinuxarm.org/platforms/armv ... /odroid-x2 i have to create one partition starting with on default sector (sector 2048, sector size 512) with ext4 fs.

when running sd_fusing (sd card) the tzsw position is 2111 and the size of the file is 159744B.

My calculations are:

start position of the first partition: 512B*2048=1,048,576B
start postion of tzsw: 512B*2111=1,080,832B

>>> the start position of tzsw is larger than the start position of the 1st (and only) ext4 partition <<<

size of tzsw.HardKernel=159744B
last position of tzsw 1080832+159744=1240576B
last sector used by tzsw 1240576/512=2423
first sector that should not be hit by sd_fusing with the currently provided files in /boot 2423+1=2424

such an installation boots fine but sooner or later ext4 corrupts the bootloader to the extent where the machine does not boot anymore.

i tried to partition the card with 2424 (or 4096) as the first sector of the first partition but it does not boot. probably uboot has some fixed value for the rootfs start. my uboot knowledge is too small to create uboot by my own. please help me with this one i would like to use my odroid x2 again (5 years ago this issue was not present).
e3k
 
Posts: 1
Joined: Sat Feb 23, 2013 1:54 pm

Re: sd_fusing for odroid x2 (and probably others) corrupts e

Postby doruk » Mon Jul 31, 2017 12:29 am

Did you find a solution for this?

What should the fs sizes be?

Following the installation instructions https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2 lead to "segmentation fault" on umount, after the fusing process.
doruk
 
Posts: 1
Joined: Mon Jul 31, 2017 12:25 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 3 guests