Date: Fri, 26 Sep 2014 22:47:34 -0700 From: Warner Losh <imp@bsdimp.com> To: Russell Haley <russ.haley@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Digi CCWMX53 Message-ID: <58369FDF-3D31-4FDB-9063-CA69E4E7E918@bsdimp.com> In-Reply-To: <CABx9NuQr%2BdEb_yj3ypEe6Sb_qPY%2BqP74n0x1K5=_K6Zoio2vkw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] You might try armv6 for TARGET_ARCH. Warner On Sep 26, 2014, at 10:38 PM, Russell Haley <russ.haley@gmail.com> wrote: > Hello, > > 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: > > 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? > > 2) Do I need to create a cross compiler? Reference 1 says yes, reference > two says no. Help! > > Ref.1 Build a cross compiler > https://wiki.freebsd.org/FreeBSD/arm/ArndaleBoard > > Ref 2. No cross compiler/ make toolchain > https://wiki.freebsd.org/A_Brief_Guide_To_Cross_Compiling_FreeBSD > > > 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. > > svn checkout https://svn0.us-west.FreeBSD.org/base/head /usr/src > > cd /usr/src > > make TARGET=arm TARGET_ARCH=arm -j10 buildworld > > make TARGET=arm TARGET_ARCH=arm KERNCONF=DIGI-CCWMX53 buildkernel > > # never got to this due to documented error in head release that I had. > make TARGET=arm TARGET_ARCH=arm installworld > > Copy to sd card > > #To Wipe Disk > sudo dd if=/dev/zero of=/dev/da1 bs=512 count=1 && sync && sync > > > #u-boot image From CCWMX53 Starter Kit > sudo dd if=u-boot-ccwmx53js.bin of=/dev/da1 bs=512 && sync && sync > > # lost the path from the build output that I got the kernel.bin file from. > I have since deleted that jail > sudo dd if=kernel.bin of=/dev/da1 bs=512 seek=2048 && sync && sync > > > Many thanks and this has been an awesome ride. A shout out to Ray whos > Raysblog got me started and Rui Paulo for starting the CCWMX53 port. My > ultimate goal is to also learn about Mer and create a BSD licensed phone OS > (PhoneBSD anyone?). I have a OnePlus I'm working to port to Sailfish right > now too. > > Thanks, > > Dinsdale > _______________________________________________ > 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" [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUJk92AAoJEGwc0Sh9sBEAoi8P/0OcQWj/V7veGuwht9G3Z6rr sZdHgxNaPrYshVPbmEhu3+isPehwiWVZOhqRPLgZAzlBz4ThzHf/NNCGGCCpoFbH SklwaJJh/OQbQghFLJ8mIm0me6JIKtfTMbYlS5s41TUnOM1cu+rRMnG+zuOOHb63 bKhnDN5mJXQPg65OkGZ4NNEpKrxMeVdD/qPasNu+uJg4kztMQE+XIPtjR0DUxu/J Z6iFMUvolbTEF7b+/kJpfZCvvLJy/FDfmgZ73YhzkC4Yu6KqfSryZ3PjCZnjop0k C5Gq35i5w1SgbWr1zc4IJuiHPhDH4kD1Gf/4UAMY1/v5p7ttlifpew5da6ZqaQCU 4kI6FoVn2bIvXLJUNegi4kK7ySIGD5CpkZtidBFBHs1dcJfj11BCtZVd3eVj9zhi wRzJxBe4aIDGALbu9mMmsFdAYxAnmQT+ScvH2TgLJ/uBx6BtdhXoXpj2NqZ8hc+h jAzOqNlAZ4ieD0lp2yABlAeVXN8qHo6kpbEynRd42XY/dmcfpmuiCaCQ1F/0yhPR KTsK7GTntiElcr9W0Pd9r5ZLzjLmxxySkqivljvOiF7vBobzH7eJy8TcA2MRmds5 YHJG57u1tOP2p3yWV0IWOrpgN6HoxtgiGD2DxdeY/P/oBAIqGy/x5Ysdbmh6h2Id MWT9PEgGeK5tGB4pFTCm =Q+/A -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58369FDF-3D31-4FDB-9063-CA69E4E7E918>
