From owner-freebsd-arm@FreeBSD.ORG Sat Sep 27 05:57:22 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0573E6BA for ; Sat, 27 Sep 2014 05:57:22 +0000 (UTC) Received: from st11p02mm-asmtp001.mac.com (st11p02mm-asmtp001.mac.com [17.172.220.236]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDEA8FA0 for ; Sat, 27 Sep 2014 05:57:21 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (unknown [73.162.13.215]) by st11p02mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NCJ00LIJPUOAK10@st11p02mm-asmtp001.mac.com> for freebsd-arm@freebsd.org; Sat, 27 Sep 2014 05:56:50 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.28,0.0.0000 definitions=2014-09-26_07:2014-09-26,2014-09-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409270055 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.0 \(1985.4\)) Subject: Re: Digi CCWMX53 From: Rui Paulo In-reply-to: Date: Fri, 26 Sep 2014 22:56:48 -0700 Content-transfer-encoding: quoted-printable Message-id: References: To: Russell Haley X-Mailer: Apple Mail (2.1985.4) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 05:57:22 -0000 Hi, > On Sep 26, 2014, at 22:38, Russell Haley wrote: >=20 > Hello, >=20 > I am trying to build for a DIgi CCWMX53 and was actually able to get a > kernel to build (holy cow I did it!!!) but I have failed to get it to = boot. > I'll outline my steps below but I am also seeking answers for the = following > questions: >=20 > 1) Can anyone give me the correct u-boot enviroment variables or = reference > to the u-boot process to boot the completed freebsd kernel. = Specifically on > a CCWMX53 if possible, but I have linux references to port from. Where > would I look for an example? This is my setup: https://wiki.freebsd.org/Digi-CCWMX53 I boot from the network because we don't support the MTD flash layout = yet. We can put a kernel in flash, but the kernel won't be able to read = the MTD partition layout and we can't boot rootfs from there. You can = use a USB stick. If you want to build U-Boot from source on FreeBSD, here's my fork: = https://github.com/rpaulo/uboot-ccwmx53-digi > 2) Do I need to create a cross compiler? Reference 1 says yes, = reference > two says no. Help! You always need it when building on x86. > Okay this is my process. It is performed in a 9.1-RELEASE jail within = a > PC-BSD 10 VM with 4 GB ram and 4 cores. >=20 > svn checkout https://svn0.us-west.FreeBSD.org/base/head /usr/src >=20 > cd /usr/src >=20 > make TARGET=3Darm TARGET_ARCH=3Darm -j10 buildworld >=20 > make TARGET=3Darm TARGET_ARCH=3Darm KERNCONF=3DDIGI-CCWMX53 = buildkernel Like Warner said, you need armv6. -- Rui Paulo