Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2017 06:55:10 -0600
From:      Karl Denninger <karl@denninger.net>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: NanoBSD config script for RPI2
Message-ID:  <506d5c30-93f7-048e-2cde-d76bfaf76a8f@denninger.net>
In-Reply-To: <CANCZdfqSMbygO47LYt7Yxi8m6OAawgta4swnv4WyVFzeD4D0vg@mail.gmail.com>
References:  <69c5a012-c1e7-c887-cd3b-ffcf78d8175e@denninger.net> <CANCZdfqSMbygO47LYt7Yxi8m6OAawgta4swnv4WyVFzeD4D0vg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms030702080204030000000100
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

It fails here during image create....

Populating `/pics/CrossBuild/embedded/rpi2/_.s2'
Image `/pics/CrossBuild/embedded/rpi2/_.s2' complete
+ [ -n s1 ]
+ eval 's1=3Dfat16b'
+ s1=3Dfat16b
+ out=3D/pics/CrossBuild/embedded/images/_.disk.image.HD-MCP
+ mkimg -a 3 -s mbr -p 'fat16b:=3D/pics/CrossBuild/embedded/rpi2/_.s1' -p=

'freebsd
:=3D/pics/CrossBuild/embedded/rpi2/_.s2' -p
'freebsd:=3D/pics/CrossBuild/embedded/rp
i2/_.s3' -o /pics/CrossBuild/embedded/images/_.disk.image.HD-MCP
mkimg: invalid option -- a
mkimg: error: unknown option

usage: mkimg <options>
    options:
        --formats       -  list image formats
        --schemes       -  list partition schemes
        --version       -  show version information

        -b <file>       -  file containing boot code
        -c <num>        -  capacity (in bytes) of the disk
        -f <format>
        -o <file>       -  file to write image into
        -p <partition>
        -s <scheme>
        -v              -  increase verbosity
        -y              -  [developers] enable unit test
        -H <num>        -  number of heads to simulate
        -P <num>        -  physical sector size
        -S <num>        -  logical sector size
        -T <num>        -  number of tracks to simulate

    formats:
        qcow    -  QEMU Copy-On-Write, version 1
        qcow2   -  QEMU Copy-On-Write, version 2
        raw     -  Raw Disk
        vhd     -  Virtual Hard Disk
        vhdf    -  Fixed Virtual Hard Disk
        vmdk    -  Virtual Machine Disk

    schemes:
        apm     -  Apple Partition Map
        bsd     -  BSD disk label
        ebr     -  Extended Boot Record
        gpt     -  GUID Partition Table
        mbr     -  Master Boot Record
        pc98    -  PC-9800 disk partitions
        vtoc8   -  SMI VTOC8 disk labels

Is the "-a" flag attempting to set the active partition?  It appears
there's no option to do that in mkimg...


On 2/3/2017 14:21, Warner Losh wrote:
> I've used tools/tools/nanobsd/embedded/rpi2.cfg in the past to create
> images for my rpi2. It has been a while, but I don't think anything
> should have broken it...
>
> Warner
>
> On Fri, Feb 3, 2017 at 11:19 AM, Karl Denninger <karl@denninger.net> wr=
ote:
>> Anyone got a working one?  Having some trouble getting usable output
>> from it...
>>
>> For reference I have sources in /pics/CrossBuild and the "mk" script t=
o
>> crossbuild which *does* work; after doing an "install" (into nfsroot) =
I
>> can then rsync that to a running unit and the update is successful.  I=
'd
>> like to be able to build off the same source tree since it's already
>> there and distinct from my x86 stuff.
>>
>>
>> --
>> Karl Denninger
>> karl@denninger.net <mailto:karl@denninger.net>
>> /The Market Ticker/
>> /[S/MIME encrypted email preferred]/

--=20
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

--------------ms030702080204030000000100
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC
BlwwggZYMIIEQKADAgECAgE9MA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G
A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl
bXMgTExDMRwwG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3alvVoND7U80Oy7zmOU0Un5sGb91qbV0pfGDMJQb38ucPCNCp79HMJZ1lrxvGES
EvqT/XlnEjtvm0TTdR9+mL/j8UQWdj8A2uPX1isL0vZh7oElZr+qCYQQML+TrmLWkJu0/kVO
dEKdZz5VgcYAYE85r7DsK5LJ0+n7FfNnkiW7nZBxBPq3JEPXdlzLYVVYp155Fj8KTkqEuKSl
j8J88a6076Xllf5diqkjP0Evnf4cGeu/U9vaR7KpEQDtj3d4N5h4+oA3Kpz1wwar10jYCGAO
+CLXW+Cb2n6OHZ5r10e7fOfth5FZqqhmChfXq5HZ1koldg+v6ao0yqnTzr/q5PGaapmXuvWi
U8Ae/yk2ns/UlRPPt01MIjdAvVdmc83Oj5las0KZTyGOa3b6jwYQJxquzuy32R8F3m3GIiE6
LZJk7g9iOAYV5tNf5mAgfATWn0X4/ct5WKIL7A9wxLZ+G2lSFrsSGISePlUTtparn3X4KexY
IZR1hW2x8FsdIWHrJnM4UexG8cpEgIPlKNobAbYVbzRcPV0VXFDy2Dp8sO1y0pPvIUmtxVfS
rao2RCCcZ/2crMACsw1KsqIAAAAAAAA=
--------------ms030702080204030000000100--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506d5c30-93f7-048e-2cde-d76bfaf76a8f>