From owner-freebsd-mips@freebsd.org Sun Jan 3 22:11:43 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 112C5A60683 for ; Sun, 3 Jan 2016 22:11:43 +0000 (UTC) (envelope-from c.jason.browning@gmail.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBD461464 for ; Sun, 3 Jan 2016 22:11:42 +0000 (UTC) (envelope-from c.jason.browning@gmail.com) Received: by mail-yk0-x22a.google.com with SMTP id k129so209695860yke.0 for ; Sun, 03 Jan 2016 14:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Z4gMctdHcqCWdm28r5+qMhfaMjt5TqiWz8aqNkbryx8=; b=i/dlG46yQVRvzuH8V6/K171YhQ7v6ek1pAF5Bwzt1gNMsTgZRqzFhlgQ4JH345GKL4 v2Wc1DEHL5D6pLPrTHlpLAbig0dqorP2JrnvtUeSsFOQqK0V1FoG+bcpZLBtwUATA09z oc3oWiC6yhquP6PIJLTNNWAmbIOOzGfPtSUXypGhLKblDW7IN1JOikk1bgaeFpC9LXJb qzuHYcIG1Qp7x7gmLwEhtUJGU7Vk383VUSVt1n43CFzJJexqufQFyEaBJ0WfuBYJVG+m fQYl03rBAR6luwjpRV2D/53cdDl/Rxa3i0CoZgWdU8mnjrpeIpjc/diFHC9o9K8FD0RQ 2+fQ== MIME-Version: 1.0 X-Received: by 10.13.222.70 with SMTP id h67mr68091951ywe.185.1451859101879; Sun, 03 Jan 2016 14:11:41 -0800 (PST) Sender: c.jason.browning@gmail.com Received: by 10.37.49.65 with HTTP; Sun, 3 Jan 2016 14:11:41 -0800 (PST) In-Reply-To: References: Date: Sun, 3 Jan 2016 16:11:41 -0600 X-Google-Sender-Auth: YMn3P6TEwMFUa1899ektwLRfS-s Message-ID: Subject: Re: [RT5350] Boot from flash --> TLB miss (2) From: Jason Browning To: Stanislav Galabov Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2016 22:11:43 -0000 > Could you please try with the following kernel image: > https://www.dropbox.com/s/nkwzx5omtx3ye7t/kernel.uboot.rt5350?dl=3D0 > Thanks Stanislav =E2=80=93 your image worked! Did I need to use a stripped-binary like you did? > Also, could you please post the output of booting your image via tftp, > together with all the steps you used to boot it? I've been using a serial connection and Kermit to transfer images; there is a critical bug in tftpboot for the version of U-Boot that shipped with this board, but I'll put a cable together and give it a shot if there'= s a clue to be found in doing so... > I am also interested to see > the steps you took when building the uboot image from the ELF kernel, cou= ld > you please share those too? > Sure. =E2=80=A2 gzip --stdout --keep -9 kernel > kernel.gz =E2=80=A2 mkimage -A mips -O netbsd -T kernel -C gzip -a $ADDRLOAD -e $ADDRENTRY -d kernel.gz kernel.gz.uboot