Code Monkey home page Code Monkey logo

Comments (8)

kientzle avatar kientzle commented on May 21, 2024

On Jun 10, 2013, at 9:15 PM, Bodo Kaiser wrote:

Hey,

I want to use crochet to build a arm image for a BeagleBone Black.

I managed to get it to the last bits around u-boot but there it fails:

At this step there is an image file but it shouldn't be finished as it is only 512B big…

It doesn't start building the image file until it has everything
compiled, and it's failing in one of the compiles.

This part is not uboot, but rather ubldr (which is a version of
FreeBSD's standard loader that can be booted from U-Boot).
The "uboot" directory contains support routines for ubldr to
work with U-Boot.

Basically, U-Boot does not know how to load and initialize a
FreeBSD kernel, so we have a multi-stage boot process:

  • MLO - this is built as part of U-Boot
  • U-Boot - knows how to initialize hardware
  • ubldr - knows how to load FreeBSD kernel
  • FreeBSD kernel

I haven't seen this particular error before. Here are some
things to try:

  • Make sure your FreeBSD sources are up-to-date.
  • "rm -rf work" and try the whole build again.

Beyond that, you're going to be debugging the FreeBSD
makefiles to figure out why the "clean" target in uboot/lib
is failing.

I skimmed through the recent commits and don't see
anything obvious...

Tim

from crochet.

bodokaiser avatar bodokaiser commented on May 21, 2024

Thank you for the detailed and fast answer!

I checked out the latest sources and now it rebuilds work.
I will give you an update in some hours when it has finished.

Regards,
Bodo

Am 11.06.2013 um 06:55 schrieb Tim Kientzle [email protected]:

On Jun 10, 2013, at 9:15 PM, Bodo Kaiser wrote:

Hey,

I want to use crochet to build a arm image for a BeagleBone Black.

I managed to get it to the last bits around u-boot but there it fails:

At this step there is an image file but it shouldn't be finished as it is only 512B big…

It doesn't start building the image file until it has everything
compiled, and it's failing in one of the compiles.

This part is not uboot, but rather ubldr (which is a version of
FreeBSD's standard loader that can be booted from U-Boot).
The "uboot" directory contains support routines for ubldr to
work with U-Boot.

Basically, U-Boot does not know how to load and initialize a
FreeBSD kernel, so we have a multi-stage boot process:

  • MLO - this is built as part of U-Boot
  • U-Boot - knows how to initialize hardware
  • ubldr - knows how to load FreeBSD kernel
  • FreeBSD kernel

I haven't seen this particular error before. Here are some
things to try:

  • Make sure your FreeBSD sources are up-to-date.
  • "rm -rf work" and try the whole build again.

Beyond that, you're going to be debugging the FreeBSD
makefiles to figure out why the "clean" target in uboot/lib
is failing.

I skimmed through the recent commits and don't see
anything obvious...

Tim

Reply to this email directly or view it on GitHub.

from crochet.

bodokaiser avatar bodokaiser commented on May 21, 2024

Okay,

everything worked fine!

I will now buy tomorrow a mircoSD card to copy the image on the eMMC.

Thank you for your help and the great script to simplify image creation!

Regards,
Bodo

Am 11.06.2013 um 06:55 schrieb Tim Kientzle [email protected]:

On Jun 10, 2013, at 9:15 PM, Bodo Kaiser wrote:

Hey,

I want to use crochet to build a arm image for a BeagleBone Black.

I managed to get it to the last bits around u-boot but there it fails:

At this step there is an image file but it shouldn't be finished as it is only 512B big…

It doesn't start building the image file until it has everything
compiled, and it's failing in one of the compiles.

This part is not uboot, but rather ubldr (which is a version of
FreeBSD's standard loader that can be booted from U-Boot).
The "uboot" directory contains support routines for ubldr to
work with U-Boot.

Basically, U-Boot does not know how to load and initialize a
FreeBSD kernel, so we have a multi-stage boot process:

  • MLO - this is built as part of U-Boot
  • U-Boot - knows how to initialize hardware
  • ubldr - knows how to load FreeBSD kernel
  • FreeBSD kernel

I haven't seen this particular error before. Here are some
things to try:

  • Make sure your FreeBSD sources are up-to-date.
  • "rm -rf work" and try the whole build again.

Beyond that, you're going to be debugging the FreeBSD
makefiles to figure out why the "clean" target in uboot/lib
is failing.

I skimmed through the recent commits and don't see
anything obvious...

Tim

Reply to this email directly or view it on GitHub.

from crochet.

bodokaiser avatar bodokaiser commented on May 21, 2024

So, next issue. I try since yesterday to flash the built image onto the BBB. Flashing is done by:

  1. Turn off device
  2. Insert SD card
  3. Hold user button
  4. Power with USB
  5. Wait on LED light
  6. Release button
  7. Wait until they light again

Currently I am stuck at 5.
Any idea why this fails?
Is there a possiblity to debug without mHDMI?

Bodo

from crochet.

kientzle avatar kientzle commented on May 21, 2024

On Jun 12, 2013, at 8:26 AM, Bodo Kaiser wrote:

So, next issue. I try since yesterday to flash the built image onto the BBB. Flashing is done by:

• Turn off device
• Insert SD card
• Hold user button
• Power with USB
• Wait on LED light
• Release button
• Wait until they light again
Currently I am stuck at 5.
Any idea why this fails?
Is there a possiblity to debug without mHDMI?

FreeBSD right now only runs from the external SD.

It does not support eMMC yet, and cannot be flashed.

It also does not yet support mHDMI, only the serial
console, so you'll need a serial-to-USB adapter.
I use this one:

http://www.adafruit.com/products/954

Tim

from crochet.

bodokaiser avatar bodokaiser commented on May 21, 2024

Ok I see…

So how would I boot normally from the sd card (just inserting and restart does load the mmc os)?

Is it possible to access the board through ssh (native network connection) when the image is booted or does the image not setup dhcpcd and sshd?

Am 12.06.2013 um 17:36 schrieb Tim Kientzle [email protected]:

On Jun 12, 2013, at 8:26 AM, Bodo Kaiser wrote:

So, next issue. I try since yesterday to flash the built image onto the BBB. Flashing is done by:

• Turn off device
• Insert SD card
• Hold user button
• Power with USB
• Wait on LED light
• Release button
• Wait until they light again
Currently I am stuck at 5.
Any idea why this fails?
Is there a possiblity to debug without mHDMI?

FreeBSD right now only runs from the external SD.

It does not support eMMC yet, and cannot be flashed.

It also does not yet support mHDMI, only the serial
console, so you'll need a serial-to-USB adapter.
I use this one:

http://www.adafruit.com/products/954

Tim

Reply to this email directly or view it on GitHub.

from crochet.

kientzle avatar kientzle commented on May 21, 2024

https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack

Yes, the default configuration used by Crochet does enable dhcp and sshd.

Tim

On Jun 12, 2013, at 8:44 AM, Bodo Kaiser wrote:

Ok I see…

So how would I boot normally from the sd card (just inserting and restart does load the mmc os)?

Is it possible to access the board through ssh (native network connection) when the image is booted or does the image not setup dhcpcd and sshd?

Am 12.06.2013 um 17:36 schrieb Tim Kientzle [email protected]:

On Jun 12, 2013, at 8:26 AM, Bodo Kaiser wrote:

So, next issue. I try since yesterday to flash the built image onto the BBB. Flashing is done by:

• Turn off device
• Insert SD card
• Hold user button
• Power with USB
• Wait on LED light
• Release button
• Wait until they light again
Currently I am stuck at 5.
Any idea why this fails?
Is there a possiblity to debug without mHDMI?

FreeBSD right now only runs from the external SD.

It does not support eMMC yet, and cannot be flashed.

It also does not yet support mHDMI, only the serial
console, so you'll need a serial-to-USB adapter.
I use this one:

http://www.adafruit.com/products/954

Tim

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

from crochet.

kientzle avatar kientzle commented on May 21, 2024

I believe this has been addressed; please file another issue if you still have problems.

from crochet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.