mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* problems with ext4
@ 2017-02-14 14:22 Oleksij Rempel
  2017-02-14 14:46 ` Oleksij Rempel
  2017-02-15  7:03 ` Sascha Hauer
  0 siblings, 2 replies; 6+ messages in thread
From: Oleksij Rempel @ 2017-02-14 14:22 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1.1: Type: text/plain, Size: 458 bytes --]

Hallo all,

i'm trying to use Barebox on BeagleBone Black with plain debian sid
installation. Most of it seems to work fine, except that i can't boot
from ext4 boot partition. The reason is that some files and folders are
not readable. For example /boot/dtbs should contain another folder, but
barebox recognize it as file.
If i mount same partition from linux, same path is accessible including
content of the folder.


-- 
Regards,
Oleksij


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems with ext4
  2017-02-14 14:22 problems with ext4 Oleksij Rempel
@ 2017-02-14 14:46 ` Oleksij Rempel
  2017-02-15  7:03 ` Sascha Hauer
  1 sibling, 0 replies; 6+ messages in thread
From: Oleksij Rempel @ 2017-02-14 14:46 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1.1: Type: text/plain, Size: 607 bytes --]

Am 14.02.2017 um 15:22 schrieb Oleksij Rempel:
> Hallo all,
> 
> i'm trying to use Barebox on BeagleBone Black with plain debian sid
> installation. Most of it seems to work fine, except that i can't boot
> from ext4 boot partition. The reason is that some files and folders are
> not readable. For example /boot/dtbs should contain another folder, but
> barebox recognize it as file.
> If i mount same partition from linux, same path is accessible including
> content of the folder.

I tried same device with ext2 for /boot. In this case all files reeded
properly.

-- 
Regards,
Oleksij


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems with ext4
  2017-02-14 14:22 problems with ext4 Oleksij Rempel
  2017-02-14 14:46 ` Oleksij Rempel
@ 2017-02-15  7:03 ` Sascha Hauer
  2017-02-15  7:22   ` Oleksij Rempel
  1 sibling, 1 reply; 6+ messages in thread
From: Sascha Hauer @ 2017-02-15  7:03 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: barebox

Hi Oleksij,

On Tue, Feb 14, 2017 at 03:22:29PM +0100, Oleksij Rempel wrote:
> Hallo all,
> 
> i'm trying to use Barebox on BeagleBone Black with plain debian sid
> installation. Most of it seems to work fine, except that i can't boot
> from ext4 boot partition. The reason is that some files and folders are
> not readable. For example /boot/dtbs should contain another folder, but
> barebox recognize it as file.

What should I say, I have seen the code, it doesn't make me wonder. You
could look at the U-Boot commit log and see if you find something there
that helps

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems with ext4
  2017-02-15  7:03 ` Sascha Hauer
@ 2017-02-15  7:22   ` Oleksij Rempel
       [not found]     ` <CAOpc7mFtB7-Qf4pNSCZsYofdAyj=TPRG17J0=rdi3YEBm+qyRg@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Oleksij Rempel @ 2017-02-15  7:22 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox


[-- Attachment #1.1.1: Type: text/plain, Size: 804 bytes --]

Am 15.02.2017 um 08:03 schrieb Sascha Hauer:
> Hi Oleksij,
> 
> On Tue, Feb 14, 2017 at 03:22:29PM +0100, Oleksij Rempel wrote:
>> Hallo all,
>>
>> i'm trying to use Barebox on BeagleBone Black with plain debian sid
>> installation. Most of it seems to work fine, except that i can't boot
>> from ext4 boot partition. The reason is that some files and folders are
>> not readable. For example /boot/dtbs should contain another folder, but
>> barebox recognize it as file.
> 
> What should I say, I have seen the code, it doesn't make me wonder. You
> could look at the U-Boot commit log and see if you find something there
> that helps


Hm.. this one looks interesting
http://git.denx.de/?p=u-boot.git;a=commit;h=66a47ff2d8f037e1e9d641623257894a9975c325


-- 
Regards,
Oleksij


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems with ext4
       [not found]     ` <CAOpc7mFtB7-Qf4pNSCZsYofdAyj=TPRG17J0=rdi3YEBm+qyRg@mail.gmail.com>
@ 2017-02-15 13:39       ` Oleksij Rempel
  2017-02-15 13:46         ` Oleksij Rempel
  0 siblings, 1 reply; 6+ messages in thread
From: Oleksij Rempel @ 2017-02-15 13:39 UTC (permalink / raw)
  To: Holger Schurig; +Cc: barebox


[-- Attachment #1.1.1: Type: text/plain, Size: 752 bytes --]

Am 15.02.2017 um 13:31 schrieb Holger Schurig:
> For what it's worth, my kernel is also in an ext4 partition (on an
> SDCARD or eMMC).
> 
> I format them with "mkfs.ext4 -q -F -D -j /dev/XXXX"
> 
> Inside the partition, I use /boot/vmlinuz as a symlink to the real file
> which is in the same directory.
> ​
> 
> I'm however on an older version of barebox, 2016.07.0

I reformatted boot partition back to ext4. Now the problem is reproducible.
Partition image can be found here
https://github.com/olerem/beagleboneblack/blob/master/boot.tar.bz2

Decompressed it should be:
md5sum 2f3474d39f1d7893e310b55ea57d87bd

the /boot/dtb symlink can't be resolved by barebox. And /boot/dtbs
folder is broken.


-- 
Regards,
Oleksij


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems with ext4
  2017-02-15 13:39       ` Oleksij Rempel
@ 2017-02-15 13:46         ` Oleksij Rempel
  0 siblings, 0 replies; 6+ messages in thread
From: Oleksij Rempel @ 2017-02-15 13:46 UTC (permalink / raw)
  To: Holger Schurig; +Cc: barebox


[-- Attachment #1.1.1: Type: text/plain, Size: 1321 bytes --]

Am 15.02.2017 um 14:39 schrieb Oleksij Rempel:
> Am 15.02.2017 um 13:31 schrieb Holger Schurig:
>> For what it's worth, my kernel is also in an ext4 partition (on an
>> SDCARD or eMMC).
>>
>> I format them with "mkfs.ext4 -q -F -D -j /dev/XXXX"
>>
>> Inside the partition, I use /boot/vmlinuz as a symlink to the real file
>> which is in the same directory.
>> ​
>>
>> I'm however on an older version of barebox, 2016.07.0
> 
> I reformatted boot partition back to ext4. Now the problem is reproducible.
> Partition image can be found here
> https://github.com/olerem/beagleboneblack/blob/master/boot.tar.bz2
> 
> Decompressed it should be:
> md5sum 2f3474d39f1d7893e310b55ea57d87bd
> 
> the /boot/dtb symlink can't be resolved by barebox. And /boot/dtbs
> folder is broken.

Some more info:
apt-cache policy e2fsprogs
e2fsprogs:
  Installed: 1.43.4-2
  Candidate: 1.43.4-2
  Version table:
 *** 1.43.4-2 500
        500 http://ftp2.de.debian.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status


apt-cache policy linux-image-4.9.0-1-armmp
linux-image-4.9.0-1-armmp:
  Installed: 4.9.6-3
  Candidate: 4.9.6-3
  Version table:
 *** 4.9.6-3 500
        500 http://ftp2.de.debian.org/debian stretch/main armhf Packages
        100 /var/lib/dpkg/status





[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-15 13:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 14:22 problems with ext4 Oleksij Rempel
2017-02-14 14:46 ` Oleksij Rempel
2017-02-15  7:03 ` Sascha Hauer
2017-02-15  7:22   ` Oleksij Rempel
     [not found]     ` <CAOpc7mFtB7-Qf4pNSCZsYofdAyj=TPRG17J0=rdi3YEBm+qyRg@mail.gmail.com>
2017-02-15 13:39       ` Oleksij Rempel
2017-02-15 13:46         ` Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox