I like the idea of using btrfs. How difficult would it be to modify the 
script that generates the MachineKit images to use a btrfs filesystem 
rather than ext4? For starters I guess, how do you generate the MachineKit 
images and how might I do that myself?

On Friday, September 18, 2020 at 11:26:05 AM UTC-6 RobertCNelson wrote:

> Wait, that's btrfs snapshots, which also works today..
>
> On Fri, Sep 18, 2020, 12:01 PM John Allwine <jo...@pocketnc.com> wrote:
>
>> The ultimate goal here would be to be able to essentially flash a board, 
>> but always be able to revert to a previously installed firmware. So rather 
>> than always flash the eMMC, leverage a much larger microSD card that could 
>> have several different images and instead of ever overwriting them, 
>> allocate spare space to a new partition and change whatever setting is 
>> necessary to default to booting to that partition (and provide some 
>> interface for reverting to any previous one).
>>
>> On Fri, Sep 18, 2020 at 10:50 AM John Allwine <jo...@pocketnc.com> wrote:
>>
>>> Thanks Robert! I'll give it a try. It sounds like 4 different images 
>>> would be the limit using that strategy? Let's say I had a 256GB microSD 
>>> card with 10 different partitions. Any idea on what I would have to change 
>>> to be able to select one besides one of the first 4?
>>>
>>> On Friday, September 18, 2020 at 8:55:48 AM UTC-6 RobertCNelson wrote:
>>>
>>>> On Fri, Sep 18, 2020 at 9:47 AM John Allwine <jo...@pocketnc.com> 
>>>> wrote: 
>>>> > 
>>>> > Has anyone partitioned a microSD card such that it can be booted into 
>>>> different partitions on a Beaglebone Black or AI? How would I go about 
>>>> doing something like that? I'd like to avoid needing to physically take 
>>>> out 
>>>> the microSD card and potentially add bootable partitions over time. Would 
>>>> that be doable from the Beaglebone itself? 
>>>>
>>>> We use "/boot/uEnv.txt" as a trigger file.. 
>>>>
>>>> Take an existing partition, shrink it to half, (dont' touch the 4mb 
>>>> hole), then clone that partition to the empy space (and update it's 
>>>> /etc/fstab).. 
>>>>
>>>> On startup, u-boot will search the first 4 partitions for 
>>>> "/boot/uEnv.txt" so either rename the one on the first partition to 
>>>> the boot the second/etc.. 
>>>>
>>>> There's probably a better way, but this will just work with the 
>>>> existing setup with the fewest mod's.. 
>>>>
>>>> Regards, 
>>>>
>>>> -- 
>>>> Robert Nelson 
>>>> https://rcn-ee.com/ 
>>>>
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/15487b80-ad54-40df-9079-e12f60368419n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/beagleboard/15487b80-ad54-40df-9079-e12f60368419n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/CAPEK9qafMH2HPHuxq%2BUETxaTR4bmD8TACDnn0zdrTTsGYekmNQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/beagleboard/CAPEK9qafMH2HPHuxq%2BUETxaTR4bmD8TACDnn0zdrTTsGYekmNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5bb42fda-9ee0-433e-b4a7-6eeaf9b98a20n%40googlegroups.com.

Reply via email to