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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
It fails here during image create....
Populating `/pics/CrossBuild/embedded/rpi2/_.s2'
Image `/pics/CrossBuild/embedded/rpi2/_.s2' complete
+ [ -n s1 ]
+ eval 's1=fat16b'
+ s1=fat16b
+ out=/pics/CrossBuild/embedded/images/_.disk.image.HD-MCP
+ mkimg -a 3 -s mbr -p 'fat16b:=/pics/CrossBuild/embedded/rpi2/_.s1' -p
'freebsd
:=/pics/CrossBuild/embedded/rpi2/_.s2' -p
'freebsd:=/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> wrote:
>> 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 to
>> 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]/
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
[-- Attachment #2 --]
0 *H
010
`He 0 *H
\0X0@=0
*H
010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA0
161218194535Z
211217194535Z0W10 UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
*H
0
͍fd`1ie6";fSz`5¹/?{=Ӵowjħ_fnӴMG\ҢҖ4ib}>@mJo&mM;
Q9U cj]p퐆W.2E=
^¢tzĄ'5i7_`~#dY
`]R]N%R}EXzqV@[oN T>5AwYˡA"\v&YG]+($p:M,T?=mJkMљg*ym
L!J[./d?W^LysD'1
+V'~{-SSX= q-f=%&V<m4BeSet|
l2m 6iO{wv
+aHXˈ5=~é*C!?uJr3tb'3`Oe)üLxt&3N526llU
.|Cp[l? 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB
OpenSSL Generated Certificate0U/Zi
0GhG0U#0$q}ݽʒm50U0karl@denninger.net0
*H
b%X%gwq
Ɂэr K[DMJ35W6
sz8d|qB2Cyw2PbV}
â[!W{HD7oD.TZ'w6~g( -,]R8P{*[f<1=7jGj9铚~3f2AʺN k~@vz^j(>ͺyh2y{/9}4.45#S|<fW!.,Bss*Q+h=}l@ "q "M&6J5*,G {hɫjbNgǠ.ЃXȶ4$O.5evHlZba!4eE!x|Za1nZ5TuPvW|#G+ DZpI7S'n0 haGa@vZ e|]Cu+))vRyY100010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
`He M0 *H
1 *H
0 *H
1
170204125510Z0O *H
1B@.ݸɚAd\2'@3O86^xA90\|<eDI9t'Co0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0*H
1010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
*H
U92*=gNUEӕZ=C>C$7 W˱ݫibe/SM% #ՖJ|'i+vZ
<cIf֦җPo.p
YZayg;oDu~Dv? +a%f 0bENtBg>U `O9+g%q$Cv\aUX^y?
NJ|]#?A/SG wx7x7*H`"[~kG|퇑Yf
J%v4ʩοjS)6ԕϷML"7@WfsΏZBO!kv'm"!:-db8_` |֟EyXpĶ~iR>Uu)X!um[!a&s8QFD(o4\=]\P:|rғ!IWҭ6D g
J
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506d5c30-93f7-048e-2cde-d76bfaf76a8f>
