From owner-freebsd-arm@freebsd.org Mon Apr 3 09:47:59 2017 Return-Path: Delivered-To: freebsd-arm@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 B3B10D2A77A for ; Mon, 3 Apr 2017 09:47:59 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 2A2758A0 for ; Mon, 3 Apr 2017 09:47:59 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: by mail-lf0-x22b.google.com with SMTP id x137so69494519lff.3 for ; Mon, 03 Apr 2017 02:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=KFSz4TuMmCprKaKMtmJM6lv5Z6WuKGN8vDN6iP6GX+E=; b=Izh5Z+FtzcS3mZibZ+nC7WYhVsXyWeiZw5j+pqH9zIP0tmKoaRSRovPrwqZeWC1yIh AJuHwwPV4//tUfuvm7ZzGGgg+ca3NjXXOoxRz9D5TYVOsUNZmUPUNA3hMh+NXBxiMdJm MK39M8Udfe6L3CnY+81e5uzM3S4CtnCPTubj+9Uts43JTafCJ4Gh4OOiQ8LUTehtFKKQ kvqM24rX4OGKVwp5qL4tCBlLIpYMyCTiYPtiVANx0KJZxL/ssMVkFOgi+4kuGjiU0Y7J 4KTu47Pex7Vg5yQqctxSjVseOZGJKwMQ5JJVU9xJoZ+S6UqqmGNccOuTcBhABidjt4wM pOmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=KFSz4TuMmCprKaKMtmJM6lv5Z6WuKGN8vDN6iP6GX+E=; b=G1I4suLaSkq15Tr4SSYX02Diefe/c3xljgAv0TZU0y2BCphjZO7naBeLP75jSWoi6D abDnAuYPiXC+/h3AAkWlzcSF0+v0Fleali2FkLQDCTj2rpt7ufifYaeXpddWZF6b71u2 tNhvxyX5NcGMBs2tDYje8eoK9fFI5duCpZo1q3afDwOHdMPjDYkGhE9l7kG6565wZxvH euBikKay5H25zK4xwG/cjr75TlT2EHkRpXXLDDZXwWbAfVWJ/V2OKejyKRWxr4awWopx eD4KukLAqDR07Qd9hsPTEgRR+mL2kXXqWVOPc2tSWxb4APbwBXBGXAJGHFu2LKTzPsnS FSKA== X-Gm-Message-State: AFeK/H0a6xfxCFg97kcN+WpVrpQabX/ol/POI3Tx6pyCyfFlF+Lh/gEQwsg/SEI57f4Msg== X-Received: by 10.46.69.137 with SMTP id s131mr4830555lja.125.1491212876382; Mon, 03 Apr 2017 02:47:56 -0700 (PDT) Received: from jrl.uk.to (eduroam-193-157-113-243.uio.no. [193.157.113.243]) by smtp.gmail.com with ESMTPSA id q123sm2426808ljb.18.2017.04.03.02.47.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 02:47:55 -0700 (PDT) Date: Mon, 3 Apr 2017 11:47:05 +0200 From: Rasmus Liland To: Warner Losh Cc: Jan Sieka , Mori Hiroki , freebsd-arm Subject: Re: [SOLUTION] DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net) Message-ID: <20170403094705.GF6011@jrl.uk.to> Reply-To: Rasmus Liland Mail-Followup-To: Warner Losh , Jan Sieka , Mori Hiroki , freebsd-arm References: <20170330232907.GA21389@jrl.uk.to> <888745.43951.qm@web101706.mail.ssk.yahoo.co.jp> <20170331094127.GA29618@jrl.uk.to> <20170331111538.GB31398@jrl.uk.to> <20170331234216.GA16657@jrl.uk.to> <20170401100631.GA29011@jrl.uk.to> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-GPG-Key-Server: http://pgp.mit.edu X-GPG-Key-FingerPrint: DD51 6042 15B2 DC18 B546 B847 9807 9AF9 3DFD 5DF7 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2017 09:47:59 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2017-04-02 20:55 +0200, Jan Sieka wrote: > 2017-04-01 12:06 GMT+02:00 Rasmus Liland: > > > > GUYS!!! > > IT'S BOOTING!!! > > > > The proper way of booting is: > > > > · Taking the DOCKSTAR kernel, ripping out the IPSEC_NAT_T to > > make it compile at all (why this module does not compile > > on TARGET_ARCH=arm despite being enabled in this stock > > kernel I do not know) > > > > · Loading resulting kernel.bin to address 0x1100000, which > > is the address already defined in $addr_rd to normally > > load the Linux ramdisk uInitrd > > Great to read such a news! > > Best regards, > > Jan Dear Warner, I wonder if it would be possible for you, as the original commiter of NSLU, or someone else, could properly commit this to CVS, as I lack commit bit, as I think it would be useful for other owners of this amazing device even if it is perhaps considered arm legacy by todays standards. Best regards, Rasmus --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="success_goflex.dts.diff" --- dockstar.dts 2017-03-31 12:28:49.296360000 +0200 +++ goflex.dts 2017-04-01 20:21:27.895671000 +0200 @@ -227,6 +227,13 @@ interrupts = <5 6 7 8>; interrupt-parent = <&PIC>; }; + + sata@80000 { + compatible = "mrvl,sata"; + reg = <0x80000 0x6000>; + interrupts = <21>; + interrupt-parent = <&PIC>; + }; }; SRAM: sram@fd000000 { --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="success_GOFLEX.diff" --- DOCKSTAR 2017-03-31 12:30:26.752632000 +0200 +++ GOFLEX 2017-04-01 20:10:43.480437000 +0200 @@ -19,7 +19,7 @@ # #NO_UNIVERSE -ident DOCKSTAR +ident GOFLEX include "std.arm" include "../mv/kirkwood/std.db88f6xxx" @@ -31,9 +31,6 @@ options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support -options NFSCL # Network Filesystem Client -options NFSLOCKD # Network Lock Manager -#options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 filesystem options NULLFS # NULL filesystem @@ -48,21 +45,10 @@ options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions -# Enable these options for nfs root configured via BOOTP. -#options BOOTP -#options BOOTP_NFSROOT -#options BOOTP_NFSV3 -#options BOOTP_WIRED_TO=mge0 - -# If not using BOOTP, use something like one of these... -#options ROOTDEVNAME=\"ufs:/dev/da0a\" -options ROOTDEVNAME=\"ufs:/dev/da0s1a\" -#options ROOTDEVNAME=\"ufs:/dev/da0p10\" -#options ROOTDEVNAME=\"nfs:192.168.0.254/dreamplug\" +options ROOTDEVNAME=\"ufs:/dev/ufs/kirkwoodroot\" # Misc pseudo devices device bpf # Required for DHCP -device firmware # firmware(9) required for USB wlan device gif # IPv6 and IPv4 tunneling device loop # Network loopback device md # Memory/malloc disk @@ -71,7 +57,6 @@ device tun # Packet tunnel. device ether # Required for all ethernet devices device vlan # 802.1Q VLAN support -device wlan # 802.11 WLAN support # cam support for umass and ahci device scbus @@ -92,23 +77,18 @@ device usb # Basic usb support device ehci # USB host controller device umass # Mass storage -device uhid # Human-interface devices -device rum # Ralink Technology RT2501USB wireless NICs -device uath # Atheros AR5523 wireless NICs -device ural # Ralink Technology RT2500USB wireless NICs -device zyd # ZyDAS zb1211/zb1211b wireless NICs -device urtw # Realtek RTL8187B/L USB -device upgt # Conexant/Intersil PrismGT SoftMAC USB -device u3g # USB-based 3G modems (Option, Huawei, Sierra) # I2C (TWSI) device iic device iicbus device twsi -# Sound -device sound -device snd_uaudio +# SATA +device mvs +device ahci + +# NAND +#device nand #crypto device cesa # Marvell security engine @@ -118,18 +98,13 @@ # IPSec device enc options IPSEC -options IPSEC_NAT_T options TCP_SIGNATURE # include support for RFC 2385 -# IPFW -options IPFIREWALL -options IPFIREWALL_DEFAULT_TO_ACCEPT -options IPFIREWALL_VERBOSE -options IPFIREWALL_VERBOSE_LIMIT=100 -options IPFIREWALL_NAT -options LIBALIAS -options DUMMYNET -options IPDIVERT +# DTrace +options KDTRACE_HOOKS +options DDB_CTF +makeoptions DEBUG=-g +makeoptions WITH_CTF=1 #PF device pf @@ -153,4 +128,4 @@ # Flattened Device Tree options FDT # Configure using FDT/DTB data options FDT_DTB_STATIC -makeoptions FDT_DTS_FILE=dockstar.dts +makeoptions FDT_DTS_FILE=goflex.dts --XsQoSWH+UP9D9v3l--