From owner-freebsd-mips@freebsd.org Wed Nov 14 09:27:50 2018 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 325701121464 for ; Wed, 14 Nov 2018 09:27:50 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [176.74.240.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B0686EDCB for ; Wed, 14 Nov 2018 09:27:49 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 01CE5A24F4; Wed, 14 Nov 2018 10:27:48 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X1UCtnngFJJC; Wed, 14 Nov 2018 10:27:47 +0100 (CET) Received: from [192.168.11.152] (unknown [192.168.11.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id A4E46A24F3; Wed, 14 Nov 2018 10:27:47 +0100 (CET) Subject: Re: Building a new version for my WiTi board From: Willem Jan Withagen To: Stanislav Galabov Cc: freebsd-mips@freebsd.org References: <09b2150d-ef55-c032-59c4-4b218a03f186@digiware.nl> Message-ID: <47b96cf8-d596-2373-cd7b-bff6cd92843c@digiware.nl> Date: Wed, 14 Nov 2018 10:27:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 5B0686EDCB X-Spamd-Result: default: False [-2.98 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.989,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digiware.nl]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[9.240.74.176.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: smtp.digiware.nl]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.49)[-0.493,0]; IP_SCORE(0.00)[country: NL(0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:28878, ipnet:176.74.224.0/19, country:NL]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 09:27:50 -0000 On 14/11/2018 10:17, Willem Jan Withagen wrote: > On 14/11/2018 08:52, Stanislav Galabov wrote: >> Hi Willem, >> >> Can you try this kernel: >> https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=0 >> >> What I notice in your build process is that after your objcopy step >> you use kernel instead of kernel.bin in the mkimage step. Try using >> kernel.bin produced in the objcopy step instead as input to mkimage >> and that should work. > > That would be a typo, then. > I think I had the same mistake the previous time I tried to build. > I'll first try to fix my build, and then try your kernel. That was indeed my standard mistake. Last time I did this I ended up attaching a small harddisk, using the system as a regular computer with HD. This WiTi-board I would like to use as a embedded device, and load a firmware image that includes the file system. Is there a (set of) script that will do that. I guess so, given that we now have ARM images in the FreeBSD download. It might even be a option for make? --WjW