Re: [beagleboard] Compressed btrfs root on eMMC

2018-01-22 Thread Robert Nelson
On Fri, Dec 15, 2017 at 11:15 AM, Robert Nelson wrote: > On Fri, Dec 15, 2017 at 11:11 AM, Daniel Kulp wrote: >> >> That's awesome.Will definitely help breath some new life into the little >> 4GB eMMC. :) >> >> Thanks for looking into this. > > I've been toying with the idea of making btrfs

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Robert Nelson
On Fri, Dec 15, 2017 at 11:11 AM, Daniel Kulp wrote: > > That's awesome.Will definitely help breath some new life into the little > 4GB eMMC. :) > > Thanks for looking into this. I've been toying with the idea of making btrfs default for our buster images (still about a 1.5 years away).. o

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Daniel Kulp
That's awesome.Will definitely help breath some new life into the little 4GB eMMC. :) Thanks for looking into this. Dan On Friday, December 15, 2017 at 12:08:01 PM UTC-5, RobertCNelson wrote: > > On Wed, Dec 13, 2017 at 2:19 PM, Robert Nelson > wrote: > > On Wed, Dec 13, 2017 at 2:11

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-15 Thread Robert Nelson
On Wed, Dec 13, 2017 at 2:19 PM, Robert Nelson wrote: > On Wed, Dec 13, 2017 at 2:11 PM, Robert Nelson > wrote: >> Got it! >> >> u-boot just needs: >> >> CONFIG_FS_BTRFS=y >> >> and we need to pass: >> >> mmcrootfstype=btrfs rootwait >> >> thru /boot/uEnv.txt >> >> and it just works: >> >> https

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-13 Thread Robert Nelson
On Wed, Dec 13, 2017 at 2:11 PM, Robert Nelson wrote: > Got it! > > u-boot just needs: > > CONFIG_FS_BTRFS=y > > and we need to pass: > > mmcrootfstype=btrfs rootwait > > thru /boot/uEnv.txt > > and it just works: > > https://gist.github.com/RobertCNelson/d2ba5d74c8bc7407ce7bd8a521424b20 > > I'll

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-13 Thread Robert Nelson
Got it! u-boot just needs: CONFIG_FS_BTRFS=y and we need to pass: mmcrootfstype=btrfs rootwait thru /boot/uEnv.txt and it just works: https://gist.github.com/RobertCNelson/d2ba5d74c8bc7407ce7bd8a521424b20 I'll add that config to u-boot by default... Regards, -- Robert Nelson https://rcn-

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Robert Nelson
On Mon, Dec 11, 2017 at 4:27 PM, Daniel Kulp wrote: > > > On Monday, December 11, 2017 at 4:18:31 PM UTC-5, RobertCNelson wrote: >> >> >> btrfs got added in u-boot v2017.11... ;) >> >> >> https://github.com/u-boot/u-boot/commit/0c936ee3194ac5b533a18fcd08e5d285853af5fe#diff-09d710108823b360adf225b1

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Daniel Kulp
On Monday, December 11, 2017 at 4:18:31 PM UTC-5, RobertCNelson wrote: > > > btrfs got added in u-boot v2017.11... ;) > > > https://github.com/u-boot/u-boot/commit/0c936ee3194ac5b533a18fcd08e5d285853af5fe#diff-09d710108823b360adf225b17cef57f9 > > > Doesn't seem to work U-Boot 2018.01-

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Robert Nelson
On Mon, Dec 11, 2017 at 3:36 PM, Robert Nelson wrote: > On Mon, Dec 11, 2017 at 3:26 PM, Daniel Kulp wrote: >> >> >> On Monday, December 11, 2017 at 4:18:31 PM UTC-5, RobertCNelson wrote: >>> >>> >>> btrfs got added in u-boot v2017.11... ;) >>> >>> >>> https://github.com/u-boot/u-boot/commit/0c93

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Robert Nelson
On Mon, Dec 11, 2017 at 3:26 PM, Daniel Kulp wrote: > > > On Monday, December 11, 2017 at 4:18:31 PM UTC-5, RobertCNelson wrote: >> >> >> btrfs got added in u-boot v2017.11... ;) >> >> >> https://github.com/u-boot/u-boot/commit/0c936ee3194ac5b533a18fcd08e5d285853af5fe#diff-09d710108823b360adf225b1

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Daniel Kulp
On Monday, December 11, 2017 at 4:18:31 PM UTC-5, RobertCNelson wrote: > > > btrfs got added in u-boot v2017.11... ;) > > > https://github.com/u-boot/u-boot/commit/0c936ee3194ac5b533a18fcd08e5d285853af5fe#diff-09d710108823b360adf225b17cef57f9 > >

Re: [beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Robert Nelson
On Mon, Dec 11, 2017 at 3:10 PM, Daniel Kulp wrote: > > For my application, the space on the eMMC is beginning to get a little > tight. I decided to write a new "flash" script that would flash the eMMC, > but set it up using btrfs with compression for the root. It's a bit tricky > since the ub

[beagleboard] Compressed btrfs root on eMMC

2017-12-11 Thread Daniel Kulp
For my application, the space on the eMMC is beginning to get a little tight. I decided to write a new "flash" script that would flash the eMMC, but set it up using btrfs with compression for the root. It's a bit tricky since the uboot stuff doesn't support it so the /boot needs to be ext2