From owner-freebsd-mips@FreeBSD.ORG Wed Nov 17 10:44:53 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2713D106564A for ; Wed, 17 Nov 2010 10:44:53 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from loki.netlab.sk (loki.netlab.sk [84.245.65.11]) by mx1.freebsd.org (Postfix) with ESMTP id 977888FC18 for ; Wed, 17 Nov 2010 10:44:52 +0000 (UTC) Received: from door.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: PLAIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by loki.netlab.sk with esmtp; Wed, 17 Nov 2010 11:53:00 +0100 id 00033C1D.4CE3B40C.0000E364 From: Milan Obuch To: Monthadar Al Jaberi Date: Wed, 17 Nov 2010 11:44:57 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.3; i386; ; ) References: <201011170024.24641.freebsd-mips@dino.sk> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011171144.58859.freebsd-mips@dino.sk> Cc: freebsd-mips@freebsd.org Subject: Re: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 10:44:53 -0000 On Wednesday 17 November 2010 09:09:38 Monthadar Al Jaberi wrote: > > Is it possible to read/write flash from FreeBSD itself? When I add > > geom_redboot into kernel, I see /dev/redboot directory with flash parts, > > but I have no idea how to read them - dd if=/dev/redboot/ > > gives just an error and no data are read... Is some special tool > > necessary for that? I would like to make a backup copy of flash, just in > > case... > > Had same issue check: > http://lists.freebsd.org/pipermail/freebsd-fs/2010-November/010023.html > > Without Adrian's patch, try dd ... bs=64k > with his (have not tried it yet) try dd ... bs=4k. > > Has to do with blocksize check the thread! ;) Sorry for the noise... I read about flash block size somewhere, just did not combine all pieces into a picture :( Thanks for reminder, it works with correct blocksize. Milan