From owner-freebsd-arm@FreeBSD.ORG Fri Jan 25 09:05:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB3DD3C0 for ; Fri, 25 Jan 2013 09:05:43 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ia0-x235.google.com (ia-in-x0235.1e100.net [IPv6:2607:f8b0:4001:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 939F486E for ; Fri, 25 Jan 2013 09:05:43 +0000 (UTC) Received: by mail-ia0-f181.google.com with SMTP id k25so232469iah.26 for ; Fri, 25 Jan 2013 01:05:43 -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=Gkb338FgfH0EKwOxC9jEQEiewom/0/1LVlIYZfoxlgY=; b=gxdIvqNKHIykjNZRl9dE3400fakhzgcB7LhWXc1H1KUO6tJJeWqT2krxIsxrN3fGY6 yK/10hVGa19hqKoS14a9M2ggV7Gj5DYTo/A2vAwq5vdkbe8a1hkGsLo6U6ePi5CJqDDg YRo6+5Kcj3lmdQYkNe8kaZp2ieid3LE06k7Dzeh0dXVF7nSNzhNag55P5NokB6oC78iN Gy+sVH1SqtAmfJm8MYodYIkYOjweGRB6+IgwdDjeie/Z2W8cS3u0/5tq986KKlLEFTbX HcK+FuXLUoZjg3YaDuE+uqlDnuxcc9aakQRkBaPjQAY5CAHOtVC/gaxztMIL62p/bNwt 3Ihw== MIME-Version: 1.0 X-Received: by 10.50.219.169 with SMTP id pp9mr3497903igc.46.1359104743065; Fri, 25 Jan 2013 01:05:43 -0800 (PST) Received: by 10.64.170.167 with HTTP; Fri, 25 Jan 2013 01:05:42 -0800 (PST) In-Reply-To: References: Date: Fri, 25 Jan 2013 17:05:42 +0800 Message-ID: Subject: Re: Hope for the help on building the supported image for FreeBSD From: Ganbold Tsagaankhuu To: XiaoQI Ge Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 09:05:44 -0000 On Fri, Jan 25, 2013 at 4:18 PM, XiaoQI Ge wrote: > I've just bought an CubieBoard, but when I searched the httpXXX,found > there was not any materials about CubieBoard, and I just want ask how to > compile the IMG for Freebsd, espically on the ubldr part You have to prepare SD card with special layout like http://linux-sunxi.org/U-Boot. (You can also use SD card which was prepared for linux, just remove/rename uImage) Once SD card is ready make sure you have xdev tools built. Make sure you have CURRENT machine with source. Tim's script also require xdev tools and you can build it like: cd /usr/src make xdev XDEV=arm XDEV_ARCH=arm Then you can compile kernel like: make TARGET_ARCH=armv6 KERNCONF=CUBIEBOARD buildkernel and put your kernel to fat partition of SD card and you are ready to boot. To boot using sd card, at uboot prompt type: fatload mmc 0 0x40200000 kernel go 0x40200100 Ganbold > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"