From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 20 05:19:59 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CD4BEE0E for ; Sun, 20 Jan 2013 05:19:59 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA09D5 for ; Sun, 20 Jan 2013 05:19:59 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n5so5149402oag.31 for ; Sat, 19 Jan 2013 21:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=wGxEyRirJUUUx8mwkkiQFbd5v60qwvCcnlEebRoch/s=; b=yeRFai4n9pB+1djdqtCneOYR0eR+KWSOYqitwT59RhBQPZm8tTUQviQsOwS1y8UxeD PjpAqQd29uUtV3mB3c6gj/JY9ceiuirkMtjZBsxzQ7UfxH00994OjlH+9VWRjgKfT92c HiGz5LbEgWcOXXLs4biHr/NrHmxdTn2B/OVCerozcshystDmgVPyn74I5WvxOwmvujCt FQrkHzK9njn6G2FnW9vJ90IrHLz4pUBTvkxyHAvaHwn5em2MT7CBLRJlILzbJsXoHkeZ 6LVD/fwbKvOzECGTECKBqvuRRTQYGlbNhqkA040fpG8nAfAbn5Wg3zQVxkMK9dpKxpO0 rHvQ== MIME-Version: 1.0 X-Received: by 10.182.89.36 with SMTP id bl4mr11063994obb.22.1358657327368; Sat, 19 Jan 2013 20:48:47 -0800 (PST) Received: by 10.182.220.4 with HTTP; Sat, 19 Jan 2013 20:48:47 -0800 (PST) In-Reply-To: References: <50F66C64.9090008@gmail.com> <50F6E642.5070100@gmail.com> <50F763D0.3080209@freebsd.org> Date: Sat, 19 Jan 2013 23:48:47 -0500 Message-ID: Subject: Re: Stupid questions on installing From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 05:19:59 -0000 Okay, I fixed the output. On Thu, Jan 17, 2013 at 7:02 PM, Super Bisquit wrote: > Apologies for busting up the party. > > Does anyone else have a PowerBook Titanium with a G4 500MHz processor? > I need the address to the monitor/VGA output. > Printenv states the output-device-1 is screen. Does anyone have an > output-device-2 on theirs? The screen lasts for a few minutes before > the Vertical Stripes show airs. > > Also, again, do I need to format the usb key to hfs to boot it or do > I need to have a hfs partition followed by a ufs partition? > The i386 installation doesn't have support for the APM gpart option. > Will it need to be compiled with it? > > > > On Wed, Jan 16, 2013 at 9:37 PM, Peter Grehan wrote: >> Hi Matt, >> >> >>> Did we ever have an OF-only syscons for FreeBSD (probably early on)? I >>> wonder if it would also go over telnet... >> >> >> Early development was done with the OF console, but due to issues (maybe >> now fixed?) with the context switch to OF from FreeBSD, I abandoned it and >> went for a syscons framebuffer console made to look a lot like a PC. >> >> The OF console does still work if you boot under the gdb psim emulator. >> >> Not sure if telnet would work - FreeBSD is going to collide with access to >> the gem ethernet and also the decrementer interrupt. >> >> later, >> >> Peter. >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 20 07:01:06 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7781713E for ; Sun, 20 Jan 2013 07:01:06 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by mx1.freebsd.org (Postfix) with ESMTP id 19CD22D3 for ; Sun, 20 Jan 2013 07:01:05 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j6so5030351oag.40 for ; Sat, 19 Jan 2013 23:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=uXoIWIw/z9LmOUTOZZwUKtuZ/SrUfaUNEN4l7a/hbIU=; b=NCbFq8+88LhpzgQkCpxoK40czlJuVr57pk2zG8HJS0BbRiGfL1mAilrcOFtTKXf2bB WoJXClRpy/x4OH+a1KakDVzTj9Z2C7dcb45RIYTse/MpIaEp5ZNayEnIrJS85G4ZLYH8 I9dijLf558swhptP1HDXjvW3VtYMlQMh3EiJZKN54O8RGee/R4oABTzfKHJkKy6IL6e+ +yi/OOMzscXqXml/CaRSHX5VoI/3d7hor396GkWQ3drO9GkCfcyPL8IssI3xMiozqucV eCrG+6XyOR815zJKlLU081aA70c+JiqctoSgABsKUmVYAMEPZZySq2YH56/ZK86CCS7Y N6EQ== MIME-Version: 1.0 X-Received: by 10.60.172.40 with SMTP id az8mr10895125oec.5.1358665259711; Sat, 19 Jan 2013 23:00:59 -0800 (PST) Received: by 10.182.220.4 with HTTP; Sat, 19 Jan 2013 23:00:59 -0800 (PST) In-Reply-To: References: <50F66C64.9090008@gmail.com> <50F6E642.5070100@gmail.com> <50F763D0.3080209@freebsd.org> Date: Sun, 20 Jan 2013 02:00:59 -0500 Message-ID: Subject: Re: Stupid questions on installing From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 07:01:06 -0000 In the forth prompt: printenv output-device Look for screen. devalias screen Look at the last value. dev / ls Look for the path of the screen. The second one will be the VGA output. setenv output-device /path/to/VGA That will set it. I'm not sure about the scca device. On Sat, Jan 19, 2013 at 11:48 PM, Super Bisquit wrote: > Okay, I fixed the output. > On Thu, Jan 17, 2013 at 7:02 PM, Super Bisquit wrote: >> Apologies for busting up the party. >> >> Does anyone else have a PowerBook Titanium with a G4 500MHz processor? >> I need the address to the monitor/VGA output. >> Printenv states the output-device-1 is screen. Does anyone have an >> output-device-2 on theirs? The screen lasts for a few minutes before >> the Vertical Stripes show airs. >> >> Also, again, do I need to format the usb key to hfs to boot it or do >> I need to have a hfs partition followed by a ufs partition? >> The i386 installation doesn't have support for the APM gpart option. >> Will it need to be compiled with it? >> >> >> >> On Wed, Jan 16, 2013 at 9:37 PM, Peter Grehan wrote: >>> Hi Matt, >>> >>> >>>> Did we ever have an OF-only syscons for FreeBSD (probably early on)? I >>>> wonder if it would also go over telnet... >>> >>> >>> Early development was done with the OF console, but due to issues (maybe >>> now fixed?) with the context switch to OF from FreeBSD, I abandoned it and >>> went for a syscons framebuffer console made to look a lot like a PC. >>> >>> The OF console does still work if you boot under the gdb psim emulator. >>> >>> Not sure if telnet would work - FreeBSD is going to collide with access to >>> the gem ethernet and also the decrementer interrupt. >>> >>> later, >>> >>> Peter. >>> _______________________________________________ >>> freebsd-ppc@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 20 07:34:51 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D45D391; Sun, 20 Jan 2013 07:34:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4DAC2377; Sun, 20 Jan 2013 07:34:51 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r0K7Yo22017797; Sun, 20 Jan 2013 02:34:50 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r0K7Yo4J017796; Sun, 20 Jan 2013 07:34:50 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 20 Jan 2013 07:34:50 GMT Message-Id: <201301200734.r0K7Yo4J017796@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 07:34:51 -0000 TB --- 2013-01-20 06:29:21 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-01-20 06:29:21 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-01-20 06:29:21 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-01-20 06:29:21 - cleaning the object tree TB --- 2013-01-20 06:29:21 - /usr/local/bin/svn stat /src TB --- 2013-01-20 06:30:49 - At svn revision 245677 TB --- 2013-01-20 06:30:50 - building world TB --- 2013-01-20 06:30:50 - CROSS_BUILD_TESTING=YES TB --- 2013-01-20 06:30:50 - MAKEOBJDIRPREFIX=/obj TB --- 2013-01-20 06:30:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-01-20 06:30:50 - SRCCONF=/dev/null TB --- 2013-01-20 06:30:50 - TARGET=powerpc TB --- 2013-01-20 06:30:50 - TARGET_ARCH=powerpc TB --- 2013-01-20 06:30:50 - TZ=UTC TB --- 2013-01-20 06:30:50 - __MAKE_CONF=/dev/null TB --- 2013-01-20 06:30:50 - cd /src TB --- 2013-01-20 06:30:50 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Jan 20 06:30:54 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] c++ -O2 -pipe -I/src/lib/clang/libclangsema/../../../contrib/llvm/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"powerpc-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"powerpc-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp -o SemaInit.o c++ -O2 -pipe -I/src/lib/clang/libclangsema/../../../contrib/llvm/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"powerpc-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"powerpc-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaLambda.cpp -o SemaLambda.o c++ -O2 -pipe -I/src/lib/clang/libclangsema/../../../contrib/llvm/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"powerpc-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"powerpc-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\" -fstack-protector -fno-exceptions -fno-rtti -c /src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp -o SemaLookup.o /src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp: In member function 'void clang::Sema::ArgumentDependentLookup(clang::DeclarationName, bool, clang::SourceLocation, llvm::ArrayRef, clang::ADLResult&)': /src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaLookup.cpp:2652: internal compiler error: in var_ann, at tree-flow-inline.h:127 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** [SemaLookup.o] Error code 1 Stop in /src/lib/clang/libclangsema. *** [all] Error code 1 Stop in /src/lib/clang. *** [all] Error code 1 Stop in /src/lib. *** [lib__L] Error code 1 Stop in /src. *** [libraries] Error code 1 Stop in /src. *** [_libraries] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-01-20 07:34:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-01-20 07:34:50 - ERROR: failed to build world TB --- 2013-01-20 07:34:50 - 3180.58 user 417.23 system 3928.79 real http://tinderbox.freebsd.org/tinderbox-head-ss-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 00:39:14 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2EF10C78 for ; Mon, 21 Jan 2013 00:39:14 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by mx1.freebsd.org (Postfix) with ESMTP id DA168E03 for ; Mon, 21 Jan 2013 00:39:13 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n5so5578016oag.17 for ; Sun, 20 Jan 2013 16:39:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=KVIE+6OLJa3vyhCdBA4RA0Tqq6IAdmbtu2TON2tgm1o=; b=o9u7tfgDFw/nZjp3tfnTzhTnGR/MICOXB1w2/FHQp59ALC3lZMjVNrTXJ/aakCB4WC BzzIU+uBsuFyBrbcfuTilZMH0N08C8J24SY5as+QQti4RLNuciHMUAv1l++xRLGkndmr agrOTtSCLiGq1j637BU8coUDDlN5Nspv16KY+K3PoNlU4Z/pf9fSygYKE3Pc04dxHz3i x6JI5OFdCFSMktrRY7WfUGqfcgoOss+xVTKBj+4YP23iw9doxprjrCzU8Dt+Jivbme+s P5FJfIrLh5iRBLHDKhjvmoz6SQyb3mWC/t95LkHKNmsTxxP8Bkx8pVwethzsmTG/c3Wn jRLw== MIME-Version: 1.0 X-Received: by 10.60.13.134 with SMTP id h6mr12390343oec.64.1358728752981; Sun, 20 Jan 2013 16:39:12 -0800 (PST) Received: by 10.182.220.4 with HTTP; Sun, 20 Jan 2013 16:39:12 -0800 (PST) Date: Sun, 20 Jan 2013 19:39:12 -0500 Message-ID: Subject: Usb image does not boot From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 00:39:14 -0000 I've used the forth prompt to set the boot device for usb@18/disk@1. Maybe the usb disk needs to be set up the same way a normal disk does with an HFS boot partition followed by the UFS partition. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 01:02:02 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 416E74D9 for ; Mon, 21 Jan 2013 01:02:02 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 21E07EBD for ; Mon, 21 Jan 2013 01:02:02 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from wanderer.tachypleus.net (adsl-76-208-68-53.dsl.mdsnwi.sbcglobal.net [76.208.68.53]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MGY00MQ6AVBKK00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sun, 20 Jan 2013 19:02:01 -0600 (CST) X-Spam-PmxInfo: Server=avs-1, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.21.5417, SenderIP=76.208.68.53 X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.208.68.53 X-Wisc-Sender: whitehorn@wisc.edu Message-id: <50FC9387.4020609@freebsd.org> Date: Sun, 20 Jan 2013 19:01:59 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 To: freebsd-ppc@freebsd.org Subject: Re: Usb image does not boot References: In-reply-to: X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 01:02:02 -0000 On 01/20/13 18:39, Super Bisquit wrote: > I've used the forth prompt to set the boot device for usb@18/disk@1. > Maybe the usb disk needs to be set up the same way a normal disk does > with an HFS boot partition followed by the UFS partition. > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > It actually is set up that way. Some macs can be very temperamental with the USB image. On some systems, if you dd the CD image to a USB stick, it will work. Only the CD, on actual CD media, is really reliable though. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 01:50:33 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A5C90E99 for ; Mon, 21 Jan 2013 01:50:33 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx1.freebsd.org (Postfix) with ESMTP id 83BE6B4 for ; Mon, 21 Jan 2013 01:50:33 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id hz10so3087777pad.23 for ; Sun, 20 Jan 2013 17:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ufWd03cDCeA2Jd6mVbSMokJUwhrGJnA/55ez3HwGS0E=; b=Sf8xeyVskS0Y0qnX05EeiRvn+b1Nc6oNxbmRPV5RIpS1b6DYvoSB7OCpOsgnSRlWhZ h5SGlo7BDN0Fs6weZHhDn2Qq+RNdvdhTQsSVa/2zL5IzoczImUwYui7y8zd0jtisuhDj j2lWfMtGypVVqbr0npZDPrOwqlCXyw/mT69uHqCA81oJSxh3qb5/LP0TwFFTkrS44Wvo kQLdZh7oW4r84yMn4sn/pR/A1ZgMtdtX2Jd+SPoSpL8KPjnXhE9Yt3ebSsCEFAYdZ4bj XakIsElZpyc2nS8aHQYoFs4gnw8P3/Lzb5HZEm9VQKUPoJDmd9q2PZn+jPVpNbyeki45 Y2lA== X-Received: by 10.68.236.100 with SMTP id ut4mr26062215pbc.92.1358733026924; Sun, 20 Jan 2013 17:50:26 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id o5sm8187553paz.32.2013.01.20.17.50.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 20 Jan 2013 17:50:25 -0800 (PST) Message-ID: <50FC9ED9.4080003@gmail.com> Date: Sun, 20 Jan 2013 17:50:17 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Super Bisquit Subject: Re: Usb image does not boot References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 01:50:33 -0000 On 01/20/13 16:39, Super Bisquit wrote: > I've used the forth prompt to set the boot device for usb@18/disk@1. > Maybe the usb disk needs to be set up the same way a normal disk does > with an HFS boot partition followed by the UFS partition. > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > Don't use boot-device (it's too fast, or the OF console isn't loaded or something), just type 'boot /pci@f2000000/usb@18/disk@1:,\ppc\boot1.elf' I think that path to the boot1 file is correct, correct me if I'm wrong. Another thing to try is 'dir /pci@f2000000/usb@18/disk@1:,\' that should list the contents of the usb drive. This could also be related to the fact some mac laptops will not properly sync their nvram after changes are made in OF. In that case it would ignore the new boot-device. Matt From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 02:27:54 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E054CC57 for ; Mon, 21 Jan 2013 02:27:54 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by mx1.freebsd.org (Postfix) with ESMTP id 925081DE for ; Mon, 21 Jan 2013 02:27:54 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id wc20so4636213obb.22 for ; Sun, 20 Jan 2013 18:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ljYyDtZUMk9yJlnMHDANx6NnfrWXTq7vhu+4vgX/Nms=; b=cS7odNp40N/iVTmIpp3feZ4+/Us59wL2PytkdNI/BOXemskSXTPL87qdZpBZdTET43 VQ3tZFQrjIAY9cjSDmNxZrjChtvrb90vggXz0Q6wgyas6NvBw7l5hLnNSPYKIrhaF3ag IpnH0VrrlsnqYOrC7ozMstRoQdhXqcBc6oNz+/wVSpSBXc5fN37Jjkvh8aYLLJbzZM4y etLtDCkupNwECft4uRdYbBCOXgGYl2DU9cNkuPEST2+CJoK0nkbjuGUo4e+3s0f09QEK J2lJvniGxliTxqvNRpAt5HzmUJR3Bfs1YCv2HWWG5Iu1kgC6L2xDggHq9RzAMO3aOXRh Rhwg== MIME-Version: 1.0 X-Received: by 10.182.38.65 with SMTP id e1mr12630187obk.3.1358735273882; Sun, 20 Jan 2013 18:27:53 -0800 (PST) Received: by 10.182.220.4 with HTTP; Sun, 20 Jan 2013 18:27:53 -0800 (PST) In-Reply-To: <50FC9ED9.4080003@gmail.com> References: <50FC9ED9.4080003@gmail.com> Date: Sun, 20 Jan 2013 21:27:53 -0500 Message-ID: Subject: Re: Usb image does not boot From: Super Bisquit To: matt Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 02:27:54 -0000 Matt and Nathan, I'm going to try using qemu and a debian image to set up the usb key and then using it to go for the regular disk. I'll also try matt's suggestion. On Sun, Jan 20, 2013 at 8:50 PM, matt wrote: > On 01/20/13 16:39, Super Bisquit wrote: >> I've used the forth prompt to set the boot device for usb@18/disk@1. >> Maybe the usb disk needs to be set up the same way a normal disk does >> with an HFS boot partition followed by the UFS partition. >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >> > Don't use boot-device (it's too fast, or the OF console isn't loaded or > something), just type 'boot /pci@f2000000/usb@18/disk@1:,\ppc\boot1.elf' > I think that path to the boot1 file is correct, correct me if I'm wrong. > Another thing to try is 'dir /pci@f2000000/usb@18/disk@1:,\' that should > list the contents of the usb drive. > > This could also be related to the fact some mac laptops will not > properly sync their nvram after changes are made in OF. > In that case it would ignore the new boot-device. > > Matt From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 04:00:02 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7C0295CE for ; Mon, 21 Jan 2013 04:00:02 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4B59B7F2 for ; Mon, 21 Jan 2013 04:00:01 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5681228oag.13 for ; Sun, 20 Jan 2013 20:00:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=51tPpP5A4jDQ/2rUBZi4S2McgObyXmPScTiCtKIF82s=; b=bKWT8P4X6K1QP97f4zYVfUafje/tVjP/XBSLb60AqfsAyPbcbeOTY9ljWZHqdcCOFM aFeo1coLws7JF7Uh6zryj2n7DOv72ynkXCXhDEbJhRv5RBOj10qlEbVumONM+nJP6uPf wlnlNT0rIl5YxaRuZGQft2dCV0/l/mS9/LbSWyorScy38IjPhjLUes07sqI7gBQqoEgR JBqeKNbSr/rTnmj65a9wF6bsvqXBE59uTRtAbdgXvkefIudUx84Fa/36rRGR4wy5DQG8 6XzIrMVRFsNvfOzMLW54moPH7PCy+8kI47kH6wUjaNLM5rx6AJEvyMsTnNoqWPv3WsEg +5qw== MIME-Version: 1.0 X-Received: by 10.60.31.195 with SMTP id c3mr12807391oei.57.1358740801214; Sun, 20 Jan 2013 20:00:01 -0800 (PST) Received: by 10.76.166.193 with HTTP; Sun, 20 Jan 2013 20:00:01 -0800 (PST) X-Originating-IP: [98.231.6.79] In-Reply-To: References: <50FC9ED9.4080003@gmail.com> Date: Sun, 20 Jan 2013 23:00:01 -0500 Message-ID: Subject: Re: Usb image does not boot From: Michael Copeland To: Super Bisquit X-Gm-Message-State: ALoCoQmWbqTDCZLlm2AhIxvWjq/jEtmRk7fE6yxeoXGLHphgPSi8fSCalRMHmg0YPJ82IbbgjOHh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 04:00:02 -0000 I'm entirely confused as to why you're having so many issues. That disk image works for me on every mac I have. G4 mini, Dual and Quad G5, multiple other g4 systems. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 21 11:06:51 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 311F0C99 for ; Mon, 21 Jan 2013 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 22E0B72E for ; Mon, 21 Jan 2013 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0LB6p7R054182 for ; Mon, 21 Jan 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0LB6oSU054180 for freebsd-ppc@FreeBSD.org; Mon, 21 Jan 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jan 2013 11:06:50 GMT Message-Id: <201301211106.r0LB6oSU054180@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 11:06:51 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/175151 ppc Loader fails to load modules on PPC64 o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 11 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 22 00:13:13 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B499ADA6 for ; Tue, 22 Jan 2013 00:13:13 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by mx1.freebsd.org (Postfix) with ESMTP id 701B6706 for ; Tue, 22 Jan 2013 00:13:13 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n5so6718357oag.3 for ; Mon, 21 Jan 2013 16:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=MXf7jSi94nPrFoR/4wx3ulk4Jci8XcbFA5z0/hmcmh8=; b=c3mWQV3mFvs4slE0qftFxhvkzZsgbDhPIoEHw4fqj2qCuhGeSQppBFdhzrhM/kpsea +TDEpztbaG4HgDHPSgvaSUmWliHyaIeT1AaydhKfzUEacfhiuBtZ4Pj7gDBznUqILL5Q NC009QXTdpu9rnWAmOvxWfaOHWOFoIdslMhyufuFVprKJCDbKMLHhP6RJV7uL8mcWr8J nb7DCjxYUaNsgsKixadQymA+iXGOIbonErUfw/Bu5QB8/jrlCRPOq6f8EusAFdyz+aFH WhQbnCfQGKDEdeXOyaf/XnqR3k4Isvl1y/+zfETjcONGRUyK+j/ZD+v3/RJgoSPLoDy2 k98w== MIME-Version: 1.0 X-Received: by 10.182.69.71 with SMTP id c7mr15021118obu.92.1358813592675; Mon, 21 Jan 2013 16:13:12 -0800 (PST) Received: by 10.182.220.4 with HTTP; Mon, 21 Jan 2013 16:13:12 -0800 (PST) In-Reply-To: References: <50FC9ED9.4080003@gmail.com> Date: Mon, 21 Jan 2013 19:13:12 -0500 Message-ID: Subject: Re: Usb image does not boot From: Super Bisquit To: Michael Copeland Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 00:13:13 -0000 The PowerBook Titanium isn't exactly in a good condition. If I make it into a minisystem and run gpart from it, then it should work. I was going to use a Debian disk but the option of an hfs/apple boot block seems to be gone. On Sun, Jan 20, 2013 at 11:00 PM, Michael Copeland wrote: > I'm entirely confused as to why you're having so many issues. That disk > image works for me on every mac I have. G4 mini, Dual and Quad G5, multiple > other g4 systems. From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 22 05:29:56 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D9569E99 for ; Tue, 22 Jan 2013 05:29:56 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id 59F3F36F for ; Tue, 22 Jan 2013 05:29:55 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id dr13so4113053wgb.13 for ; Mon, 21 Jan 2013 21:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=o9UZjNl2RRE/J4L0OGqcMI4YOyxaBS9CRPiS4PBYllA=; b=DnVWYj7bpbQ8hCxtsDhUSu1jb6qSMpxU/vYuAVgxHtbusdAcN4xNvT5OT95mcFTngm 8NqzxSb/rvHGKJ8TF3ozGBV1JLTKxgQxdzlYb5nwIrE+YcbAA4uOfSP4dvgS43myIw00 PxU8EnZYjUn2v3xeKXmC8itorKsFVozYdsJjgy8yLybkAZ88Fgi3wjWlBfsSCxk/NyP4 Bz7GWtQVUyMHtf4sRBaB85YjdrKJUDUwIEmqDvjBm64X78OcrFAoMT7lS6F4SVgmHVd8 ozxZzHEv6v36XVapsMWf8URdNlbibEdSJo7S/obggE1ApPgOQL1Aade3G7bWaw5emsEe NCGQ== MIME-Version: 1.0 X-Received: by 10.180.82.69 with SMTP id g5mr19035600wiy.21.1358832594996; Mon, 21 Jan 2013 21:29:54 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.123.73 with HTTP; Mon, 21 Jan 2013 21:29:54 -0800 (PST) Date: Mon, 21 Jan 2013 21:29:54 -0800 X-Google-Sender-Auth: VgDrU7t1QKfKxpvoG-N5n8soaNk Message-ID: Subject: Powerbook G4: cardbus slot w/ no interrupts From: Adrian Chadd To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 05:29:56 -0000 Hi, I have a powerbook G4 (Model A1095) which I've thrown FreeBSD-HEAD onto. It works fine, but I'm not getting any interrupts from the cardbus slot. This means: * I'm not getting any attach/detach events; * I'm not getting any interrupts from the device in the slot (which shares the same interrupt as the cardbus slot itself.) I've put the dmesg and sysctl up: http://people.freebsd.org/~adrian/ppc/ I'd love to fix this - so I can move onto fixing bwi/bwn/ath on ppc. Thanks, adrian From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 22 14:00:12 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3094F40 for ; Tue, 22 Jan 2013 14:00:12 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4B17F5 for ; Tue, 22 Jan 2013 14:00:12 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from wanderer.tachypleus.net (adsl-76-208-68-53.dsl.mdsnwi.sbcglobal.net [76.208.68.53]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MH100HLE5K4BW00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 22 Jan 2013 08:00:06 -0600 (CST) X-Spam-PmxInfo: Server=avs-1, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.22.135117, SenderIP=76.208.68.53 X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.208.68.53 X-Wisc-Sender: whitehorn@wisc.edu Message-id: <50FE9B64.9050904@freebsd.org> Date: Tue, 22 Jan 2013 08:00:04 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 To: freebsd-ppc@freebsd.org Subject: Re: Powerbook G4: cardbus slot w/ no interrupts References: In-reply-to: X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 14:00:12 -0000 On 01/21/13 23:29, Adrian Chadd wrote: > Hi, > > I have a powerbook G4 (Model A1095) which I've thrown FreeBSD-HEAD onto. > It works fine, but I'm not getting any interrupts from the cardbus slot. > > This means: > > * I'm not getting any attach/detach events; > * I'm not getting any interrupts from the device in the slot (which > shares the same interrupt as the cardbus slot itself.) > > I've put the dmesg and sysctl up: http://people.freebsd.org/~adrian/ppc/ > > I'd love to fix this - so I can move onto fixing bwi/bwn/ath on ppc. > > Thanks, > > > > adrian > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > Could you also put the output of ofwdump -rp /? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 25 12:15:13 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A24289E0 for ; Fri, 25 Jan 2013 12:15:13 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by mx1.freebsd.org (Postfix) with ESMTP id 770036E0 for ; Fri, 25 Jan 2013 12:15:13 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id dn14so269035obc.4 for ; Fri, 25 Jan 2013 04:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=YVYCkvWXNKjqtBC0LSfG9NZswWWC56L3iaI0YZQxe6k=; b=NlJflI/bLuM7JWeCbvxqxIrq9LPgvFeQyvemjQsyBTIy0837pyhNT8onBwpgjFDoBx d71a69ivBwj/soiRj/iE70ttQXiEYKRjw8MLnaZxTXP5Ocn8aEQv6V9rhIPi1h8hDs0+ QUgLZwow/8FWP4C8dJaNlAeujbdaUC7O9IWyGFWVZusK7YTpag383ue7uDfuMe8Z4Lha 7Qlwq99WVus3ux9KSQKt79jaT0TOr1HJkOGeguH2QdFGjT0zyACnammOC/xBNzMSOrtN shSfbPK6hidTQmhIT12J1X5IBvTvEjGdHK1icAw/SGS4rPhbXD1sl0WsVzc0qN5Hj4ws PRHA== MIME-Version: 1.0 X-Received: by 10.182.95.133 with SMTP id dk5mr4420632obb.14.1359115805239; Fri, 25 Jan 2013 04:10:05 -0800 (PST) Received: by 10.76.135.103 with HTTP; Fri, 25 Jan 2013 04:10:05 -0800 (PST) Date: Fri, 25 Jan 2013 13:10:05 +0100 Message-ID: Subject: OpenFirmware issue on P1010 From: Aleksander Dutkowski To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 12:15:13 -0000 hi! I am porting FreeBSD on P1010RDB platform. I modified existing MPC85XX config (i.e. removed SMP), created p1010rdb.dts from p1020rdb.dts etc, and ran the kernel via u-boot: tftp 0x1000000 fbsd.elf go 0x10000e0 Nothing happened, so I used CodeWarrior IDE with CW USB Tap, and it turned out, that OF_install() call in sys/powerpc/booke/machedp.c returns false. I inspected this function and moreover, I inspected the structure, which is pointer from set_ofw_set linker set: $ powerpc-rtems-objdump -s kernel | grep set_ofw_set Contents of section set_ofw_set: c03694f0 c037ab54 .7.T (gdb) p (ofw_def_t)*0xc037ab54 $1 = {name = 0xc03339a4 "ofw_fdt", methods = 0xc0319350, size = 0, baseclasses = 0x0, refs = 0, ops = 0x0} As we can se, name field is correct. But this function seems to fail in strcmp(). I have found the issue [1] on bugtracker, so Im quite sure, that the problem is ith linker sets on powerpc (but this issue is quite old now ;) ), but the fix is not working for me - it crashes while compiling: cc -c -O -pipe -std=c99 -Wa,-me500 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/home/aleek/src/p1010-github/sys -I/usr/home/aleek/src/p1010-github/sys/contrib/altq -I/usr/home/aleek/src/p1010-github/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c cc1: warnings being treated as errors /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c: In function 'OF_install': /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c:126: warning: assignment from incompatible pointer type /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c:126: warning: comparison of distinct pointer types lacks a cast Do you have any idea, how to fix this? [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=140241 -- regards aleek From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 25 12:49:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0CB001E3 for ; Fri, 25 Jan 2013 12:49:58 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 7D94D875 for ; Fri, 25 Jan 2013 12:49:57 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id C21C8C7FD4; Fri, 25 Jan 2013 13:49:49 +0100 (CET) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id ZondWfY97AkX; Fri, 25 Jan 2013 13:49:49 +0100 (CET) Received: from [10.0.2.117] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id E55F6C7F31; Fri, 25 Jan 2013 13:49:48 +0100 (CET) Message-ID: <51027F6C.7090403@semihalf.com> Date: Fri, 25 Jan 2013 13:49:48 +0100 From: Zbyszek Bodek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Aleksander Dutkowski Subject: Re: OpenFirmware issue on P1010 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 12:49:58 -0000 Hello Aleksander, Please check my answer inline. On 25.01.2013 13:10, Aleksander Dutkowski wrote: > hi! > > I am porting FreeBSD on P1010RDB platform. I modified existing MPC85XX > config (i.e. removed SMP), created p1010rdb.dts from p1020rdb.dts etc, > and ran the kernel via u-boot: > tftp 0x1000000 fbsd.elf > go 0x10000e0 Apart from other hints that you gave, are you trying to boot an elf file via tftp command or this is in fact a .bin file (objcopied) but with the .elf postfix ? It is impossible to boot an elf file via tftpboot/go commands. If this is what you are doing then try to create a bin file using objcopy (for powerpc) and then boot. For example: /obj/path/to/powerpc/objcopy -S -O binary /obj/path/to/powerpc/kernel fbsd.bin Of course you should also extract the "kernel start address" to ensure that you are executing (go) the bin file in a right way: /obj/path/to/powerpc/objdump -f /obj/path/to/powerpc/kernel And an additional thought - make sure that you are using statically embedded dtb when booting directly from u-boot: options FDT_DTB_STATIC > > Nothing happened, so I used CodeWarrior IDE with CW USB Tap, and it > turned out, that OF_install() call in sys/powerpc/booke/machedp.c > returns false. I inspected this function and moreover, I inspected the > structure, which is pointer from set_ofw_set linker set: > > $ powerpc-rtems-objdump -s kernel | grep set_ofw_set > Contents of section set_ofw_set: > c03694f0 c037ab54 .7.T > > (gdb) p (ofw_def_t)*0xc037ab54 > $1 = {name = 0xc03339a4 "ofw_fdt", methods = 0xc0319350, size = 0, > baseclasses = 0x0, refs = 0, ops = 0x0} > > As we can se, name field is correct. But this function seems to fail > in strcmp(). > I have found the issue [1] on bugtracker, so Im quite sure, that the > problem is ith linker sets on powerpc (but this issue is quite old now > ;) ), but the fix is not working for me - it crashes while compiling: > > cc -c -O -pipe -std=c99 -Wa,-me500 -g -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option > -nostdinc -I. -I/usr/home/aleek/src/p1010-github/sys > -I/usr/home/aleek/src/p1010-github/sys/contrib/altq > -I/usr/home/aleek/src/p1010-github/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=15000 --param inline-unit-growth=100 --param > large-function-growth=1000 -msoft-float -Wa,-many > -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding > -fstack-protector -Werror > /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c > cc1: warnings being treated as errors > /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c: In function > 'OF_install': > /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c:126: warning: > assignment from incompatible pointer type > /usr/home/aleek/src/p1010-github/sys/dev/ofw/openfirm.c:126: warning: > comparison of distinct pointer types lacks a cast > > Do you have any idea, how to fix this? > > > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=140241 > Sorry to ignore the rest of your observations at the moment but I wanted to make sure that everything is OK with the running process. Best regards and good luck Zbyszek Bodek