From owner-freebsd-mips@freebsd.org Wed Nov 14 12:25:17 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 3E9AF11263B4 for ; Wed, 14 Nov 2018 12:25:17 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31FB8747F6 for ; Wed, 14 Nov 2018 12:25:16 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-wr1-x42f.google.com with SMTP id p4so7893461wrt.7 for ; Wed, 14 Nov 2018 04:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1xDIcOUYV/f4IDADCizwUe+xzSBVV90XsxA1HOFh3ek=; b=Fap9kQThdry3iV8izYU2GsWWpEhOVqgWv5Ddlj2oO1VQChOHJY7RJ2aZH4geDmk6go dH2pKHNqXH43OUlJO7XVqoNYvZgBbpPgmzrWuoqWAnfvYzOmRaFT8HXQc5tjqBcgj4pi zyL2yuMgxf2gXfN5FCsv4ZW5C9eTzYy8X9SSMQ3dJZL5QpsR9mjpDX5epC4IngWzTBSS kOARmnWHFuPDnnDl0lujTA616i40hH2M+tmu18cQo9vHmWHnNHXvAFb8EG6JsTY+NGZy 8xnSadhkNAM5CYwfUJnGADn3yXqCQzJ+h4N6SHM5ZnXkuw1UMlYXgStd5OY43Naf0uPm 7XRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1xDIcOUYV/f4IDADCizwUe+xzSBVV90XsxA1HOFh3ek=; b=WNx1MX70LB6znzFUpKL6czie+0wnuS7aGbOVObZjaa3AtnjB0v+YQNurtIsdsCShr/ nwrZMau1wPMQPxiUJALbwVbI9keWSJPsuHfyE6+0i0NVOlr1N1sLMX8Vy1yrIuOXC/6m p4WXfq/eKGWEX03LS1josbAsecCeeyyJWblkczHRPTwm5nOX7T92vPD7ULBZLcE9DPpa TQgZWODBHhxALa5GsocnLXubfBOyxw1e2zxB6MGKBHpRMOdD7sg4Heuyb+GZZg74HfUu 7lbvD/0XlsztEbxozfE5969Q4zhXbmDjSOFrotl0/VhE8ATIWJuZulbeuKNnWBVSEjcF whLg== X-Gm-Message-State: AGRZ1gLN3GE+NRYItPzTd5E7oyD8SFClqIJkcrccMyF4ymYPo6P6YgJ8 i4oUOZp5xfqKVNMM1CB4WwVNRGyAf9vXlyzNATs= X-Google-Smtp-Source: AJdET5c+isKJR0WsMJWYksUEALWRnzYbo89myxoI5BV3QErORKIlZi2mW1n8kVqU1WJiDlqTKX3zGZZhGIjlAa/ejFk= X-Received: by 2002:a5d:6105:: with SMTP id v5mr1712898wrt.63.1542198314822; Wed, 14 Nov 2018 04:25:14 -0800 (PST) MIME-Version: 1.0 References: <09b2150d-ef55-c032-59c4-4b218a03f186@digiware.nl> <47b96cf8-d596-2373-cd7b-bff6cd92843c@digiware.nl> In-Reply-To: <47b96cf8-d596-2373-cd7b-bff6cd92843c@digiware.nl> From: Michael Zhilin Date: Wed, 14 Nov 2018 15:25:01 +0300 Message-ID: Subject: Re: Building a new version for my WiTi board To: wjw@digiware.nl Cc: Stanislav Galabov , freebsd-mips@freebsd.org X-Rspamd-Queue-Id: 31FB8747F6 X-Spamd-Result: default: False [-3.55 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.75)[ipnet: 2a00:1450::/32(-1.85), asn: 15169(-1.80), country: US(-0.10)]; NEURAL_HAM_SHORT(-0.79)[-0.788,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 12:25:17 -0000 There are 2 active (supported) set of scripts: - ZRouter, initiated by ray@ and supported by yamori813 - freebsd-wifi-build, initiated by adrian@ Both have common part and separate features. ZRouter is very simple and friendly (thx to menu.sh) and provides firmware with CD9660 read-only FS. freebsd-wifi-build is more flexible (IMHO, I use it for dev purpose) and provides firmware with read-only FFS filesystem. BTW, both provide option of full image. I recommend to try both. May be nanobsd provides MIPS builds as well, I never tried it. Thx, Michael On Wed, Nov 14, 2018 at 12:28 PM Willem Jan Withagen wrote: > 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 > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >