Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded/conf Increase the size of the boot pa...



details:   https://anonhg.NetBSD.org/src/rev/c5e6109ea34d
branches:  trunk
changeset: 823079:c5e6109ea34d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Apr 11 17:30:17 2017 +0000

description:
Increase the size of the boot partition and remove the 'd' part from the
disklabel.

diffstat:

 distrib/utils/embedded/conf/evbarm.conf |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 34151da803ee -r c5e6109ea34d distrib/utils/embedded/conf/evbarm.conf
--- a/distrib/utils/embedded/conf/evbarm.conf   Tue Apr 11 17:30:13 2017 +0000
+++ b/distrib/utils/embedded/conf/evbarm.conf   Tue Apr 11 17:30:17 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: evbarm.conf,v 1.24 2015/08/01 10:04:50 jmcneill Exp $
+# $NetBSD: evbarm.conf,v 1.25 2017/04/11 17:30:17 jmcneill Exp $
 # evbarm shared config
 #
 image=$HOME/${board}.img
@@ -7,8 +7,8 @@
 
 swap=256
 extra=48               # spare space
-boot=120
 init=8
+boot=$((256 - ${init}))
 ffsoffset=$(( (${init} + ${boot} + ${swap}) / 2 ))m
 
 size=0         # autocompute
@@ -59,7 +59,6 @@
  a:   ${asize}     ${aoffset}    4.2BSD  ${fsize} ${bsize} 0  # 
  b:   ${swapsize}  ${swapoffset} swap                         #
  c:   ${totalsize} 0             unused      0     0          #
- d:   ${totalsize} 0             unused      0     0          #
  e:   ${bootsize}  ${bootoffset} MSDOS                        #
 EOF
 }



Home | Main Index | Thread Index | Old Index