From owner-freebsd-mips@freebsd.org Tue May 9 13:56: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 293BDD65414 for ; Tue, 9 May 2017 13:56:30 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (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 DC89D1FF for ; Tue, 9 May 2017 13:56:29 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by mail-qt0-x231.google.com with SMTP id t26so1277524qtg.0 for ; Tue, 09 May 2017 06:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sQ9j9xaEJctPcl0N4Akx3Cd9pWTg85fxFvcGfRqYjGU=; b=vZzmB2CkQ2f/y36Bghr6iNDGkZEFGcP+kqCCAK1qPZRf2zzNpRNhUravIk9E5MKjOY 7Ly2+7vW1IOPQ7PnhiHY5+nP0YUGDNGG6XsmQaVOizxF//p0msBpI0oxrHNhinUH+EpJ Za0Yc8Dd9BCrxAsfkiqMLrAfbhGaKBZkC7ikkPsv3CaOePbuhdn+4QXumoXXQ5nprrtq 3dGrK3QT1xNs2lqyAF3jnNDc+MjSGeYYQIuqWKVIvNXmxdd94wn9h6IJjhlXONBze6Jd +LRCeHz6Rvtfc4QNrYIGN7nj53akQY6wO1o8rqPj6ylCJndy8GLiCJ82wyokE+ytElNy TLSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sQ9j9xaEJctPcl0N4Akx3Cd9pWTg85fxFvcGfRqYjGU=; b=chTKIUyE7tBDDoCLJMci3tSkR0fffibp4NbQGnoBSzBqJ8gO8K6RR2Wmxyhy5RKsyO VDqX84lObS/8otzuqOATaaPpZGgbKdQ7wzzD1Y/S27AWzYGtU513euIJc2Q5uqxqxJW+ WSXjoEnTqbT+q226B/FntEXQi1UH6hqekb6jKoMYp6TlZCzZ/NRUVTPOhnkLfkpIhr+M yr5xzse3Sbd2UmANMpzhC38V+kNaZZzpilvHx2W4AbP71LIKhZrIZUcz+3YKAyeGSQki VqjL+asti+Sk7yFALKJ9fXfPtGHqr4t1CBls2+iq+7zJJzUb6ylmtBjBWs+V/DQP6o6l NtcA== X-Gm-Message-State: AODbwcBZbzodj9G6nijYUKAvIPAB1hDPGOlhnhHspcnG30yYK9uUqgd/ ffXOApCXVYzldhbo0Fw1al3fGX5UKQ== X-Received: by 10.200.4.162 with SMTP id s34mr200599qtg.35.1494338188958; Tue, 09 May 2017 06:56:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.62.111 with HTTP; Tue, 9 May 2017 06:55:48 -0700 (PDT) In-Reply-To: <102de390-63ca-a156-2208-bea3d5eea0f9@wolman.co.uk> 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> From: Outback Dingo Date: Tue, 9 May 2017 15:55:48 +0200 Message-ID: Subject: Re: onion omega2+ To: Mike Wolman Cc: Mori Hiroki , Aleksandr Rybalko , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 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:56:30 -0000 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