From owner-freebsd-mips@freebsd.org Tue May 9 13:59:30 2017 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 E6BFED65569 for ; Tue, 9 May 2017 13:59:30 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 862CD2EE for ; Tue, 9 May 2017 13:59:29 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from [192.168.3.50] ([80.229.66.11]) by avasout08 with smtp id JDzS1v0070EahWw01DzTaq; Tue, 09 May 2017 14:59:28 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=JPdLi4Cb c=1 sm=1 tr=0 a=sNOkzuqjfbpz3c/qSHODpA==:117 a=sNOkzuqjfbpz3c/qSHODpA==:17 a=IkcTkHD0fZMA:10 a=UmSUZ3ptAAAA:8 a=sCImhYakFsd--PwlTwoA:9 a=Ej22SG5vZe84VEVn:21 a=AQugpU1XAQOBFSzT:21 a=QEXdDO2ut3YA:10 a=FyGKTEvU35uc88vWBdgE:22 Subject: Re: onion omega2+ To: Outback Dingo References: <694efc3a-e183-35a1-a0bf-9a9c0d708826@wolman.co.uk> <410144.69078.qm@web101716.mail.ssk.yahoo.co.jp> <128807.28836.qm@web101715.mail.ssk.yahoo.co.jp> <2d555385-8258-fd75-e4a3-a1e59bf86314@wolman.co.uk> <651873.78746.qm@web101702.mail.ssk.yahoo.co.jp> <2c5cd01a-a8d4-3ffa-4e9c-2aad170574c1@wolman.co.uk> <39222.11970.qm@web101719.mail.ssk.yahoo.co.jp> <6f1b2d35-5d17-765a-6138-0ab85455fc09@wolman.co.uk> <5866.49154.qm@web101718.mail.ssk.yahoo.co.jp> <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk> Cc: Mori Hiroki , Aleksandr Rybalko , "freebsd-mips@freebsd.org" From: Mike Wolman Message-ID: <7346c25f-1ce0-ad28-da77-3e7e9f429311@wolman.co.uk> Date: Tue, 9 May 2017 14:59:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2017 13:59:31 -0000 On 09/05/2017 14:55, Outback Dingo wrote: > On Tue, May 9, 2017 at 3:42 PM, Mike Wolman wrote: >> Ok got somewhere with this >> >> >> USB_STORAGE: 1 Storage Device(s) found >> Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.uImage >> * >> * >> Reading file "kernel.MT7628_FDT.uImage" >> * >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ****** >> ****** >> ****************************************************************************************************************************************************************************************************************** >> **** >> * >> FAT: 5654824 Bytes read >> Omega2 # go >> Usage: >> go - start application at address 'addr' >> >> Omega2 # go 0x80001000 >> ## Starting application at 0x80001000 ... >> >> >> >> I have tried with: >> >> Omega2 # go 0x80001100 >> ## Starting application at 0x80001100 ... >> >> >> >> I have tried using the 0x80001000 for fatload as well: >> >> >> USB_STORAGE: 1 Storage Device(s) found >> Omega2 # help fatload >> fatload [bytes] >> - load binary file 'filename' from 'dev' on 'interface' >> to address 'addr' from dos filesystem >> >> Reading file "kernel.MT7628_FDT.uImage" >> * >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ****** >> ****** >> ****************************************************************************************************************************************************************************************************************** >> **** >> * >> FAT: 5654824 Bytes read >> Omega2 # go 0x80001100 >> ## Starting application at 0x80001100 ... >> >> >> >> However: >> >> Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.uImage >> * >> * >> Reading file "kernel.MT7628_FDT.uImage" >> * >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ** >> ****** >> ****** >> ****************************************************************************************************************************************************************************************************************** >> **** >> * >> FAT: 5654824 Bytes read >> Omega2 # bootm 0x80800000 >> ## Booting image at 80800000 ... >> Image Name: FreeBSD >> Image Type: MIPS Linux Kernel Image (uncompressed) >> Data Size: 5654760 Bytes = 5.4 MB >> Load Address: 80001000 >> Entry Point: 80001100 >> Verifying Checksum ... OK >> OK >> No initrd >> ## Transferring control to Linux (at address 80001100) ... >> ## Giving linux memsize in MB, 128 >> >> Starting kernel ... >> >> >> But it doesnt go any further >> > > > I had a similar situation on a device, it wasnt printing output to the > screen but was actually booted > i think you might need a patch for u-boot ... i could be off base here > but sounds quite similiar There is a red led on the expansion board - when it boots and hands over to linux kernel this light goes off