On Mon, Jun 20, 2016 at 6:05 PM, Wally Bkg <[email protected]> wrote:
> I know that, that is why I said its not a show-stopper, and Windows users can
> still boot the card and run grow_partition.sh, but the previous testing lxqt
> images were apparently sized to match the 4GB eMMC.
>
> If there is a reason for it, (new slightly smaller eMMC chip to save a few
> pennies on some board revisions?) that's fine, but if its an error that crept
> into the image making process, I thought RCN might want to know. I did
> verify that the 0 bytes free didn't interfere with the Beaglebone initial
> boot up.
It's a little juggling game, the bb-node-red package got a little big
these last few weeks till i got the pre-build npm packages ironed out,
so those are smaller..
Otherwise, from trial and error we only partition 85% of eMMC stated size..
Here's the calculation logic with a few data-points..
#eMMC: (dd if=/dev/mmcblk1 of=/dev/null bs=1M #MB)
#Micron 3744MB (bbb): 3925868544 bytes -> 3925.86 Megabyte
#Kingston 3688MB (bbb): 3867148288 bytes -> 3867.15 Megabyte
#Kingston 3648MB (x15): 3825205248 bytes -> 3825.21 Megabyte (3648)
#
### seek=$((1024 * (700 + (gsize - 1) * 1000)))
## 1000 1GB = 700 #2GB = 1700 #4GB = 3700
## 990 1GB = 700 #2GB = 1690 #4GB = 3670
#
### seek=$((1024 * (gsize * 850)))
## x 850 (85%) #1GB = 850 #2GB = 1700 #4GB = 3400
#
dd if=/dev/zero of="${media}" bs=1024 count=0 seek=$((1024 * (gsize * 850)))
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAOCHtYj3iZ4WfBG2n1ru5Z4VpnsgLVk84FixUQYaxbtpW7pX4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.