I have a problem with Buildroot

621 views
Skip to first unread message

Talha Ayrancı

unread,
Jan 8, 2019, 5:21:10 PM1/8/19
to BeagleBoard

I encountered an error while trying build an image with Buildroot. What is the reason of this?

This is the error message on terminal :

...

>>>   Executing post-image script board/beaglebone/post-image.sh
INFO: cmd: "mkdir -p "/home/ubuntu/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/ubuntu/buildroot/output/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/ubuntu/buildroot/output/images"" (stderr):
INFO: cmd: "mkdir -p "/home/ubuntu/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/home/ubuntu/buildroot/output/target" "/home/ubuntu/buildroot/output/build/genimage.tmp/root"" (stderr):
INFO: vfat(boot.vfat): cmd: "dd if=/dev/zero of="/home/ubuntu/buildroot/output/images/boot.vfat" seek=16777216 count=0 bs=1 2>/dev/null" (stderr):
INFO: vfat(boot.vfat): cmd: "mkdosfs  '/home/ubuntu/buildroot/output/images/boot.vfat'" (stderr):
INFO: vfat(boot.vfat): adding file 'MLO' as 'MLO' ...
INFO: vfat(boot.vfat): cmd: "mcopy -bsp -i '/home/ubuntu/buildroot/output/images/boot.vfat' '/home/ubuntu/buildroot/output/images/MLO' '::'" (stderr):
Syntax error at line 5 for drive A: column 9 in file /etc/mtools.conf: unrecognized keyword
INFO: vfat(boot.vfat): cmd: "rm -f "/home/ubuntu/buildroot/output/images/boot.vfat"" (stderr):
ERROR: vfat(boot.vfat): failed to generate boot.vfat
Makefile:790: recipe for target 'target-post-image' failed
make: *** [target-post-image] Error 1

Dennis Lee Bieber

unread,
Jan 9, 2019, 2:07:28 PM1/9/19
to beagl...@googlegroups.com
On Tue, 8 Jan 2019 14:21:10 -0800 (PST), Talha Ayranc?
<talha...@gmail.com> declaimed the
following:

>
>I encountered an error while trying build an image with Buildroot. What is
>the reason of this?
>

>Syntax error at line 5 for drive A: column 9 in file /etc/mtools.conf: unrecognized
>keyword

So what does /etc.mtools.conf contain?


--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Talha Ayrancı

unread,
Jan 9, 2019, 2:13:23 PM1/9/19
to BeagleBoard
Thanks for your interest.

This is mtools.conf:

# Debian default mtools.conf file.
# "info mtools" or "man mtools.conf" for more detail.

# # Linux floppy drives
drive a
: file="/dev/fd0" exclusive
drive b
: file="/dev/fd1" exclusive

# # First SCSI hard disk partition
# drive c: file="/dev/sda1"

# # First IDE hard disk partition
# drive c: file="/dev/hda1"

# # dosemu hdimage.
drive m
: file="/var/lib/dosemu/hdimage.first" partition=1 offset=128

# # dosemu floppy image
drive n
: file="/var/lib/dosemu/fdimage"

# # SCSI zip disk
# drive z: file="/dev/sda4"

# # uncomment the following line to display all file names in lower
# # case by default
# mtools_lower_case=1



9 Ocak 2019 Çarşamba 22:07:28 UTC+3 tarihinde Dennis Lee Bieber yazdı:

Dennis Lee Bieber

unread,
Jan 9, 2019, 9:30:46 PM1/9/19
to beagl...@googlegroups.com
On Wed, 9 Jan 2019 11:13:22 -0800 (PST), Talha Ayranc?
<talha...@gmail.com> declaimed the
following:

>Thanks for your interest.
>
>This is mtools.conf:
>
># Debian default mtools.conf file.
># "info mtools" or "man mtools.conf" for more detail.
>
># # Linux floppy drives
>drive a: file="/dev/fd0" exclusive

Well, visually that seems to match the documentation... If it were
mine, my next step would be to dump that using a hex utility, to ensure
that no strange characters are on the line -- since character 9 is the
either the space between : and "file", or the "f" of "file'.

Note: the documentation also seemed to imply that mtools doesn't really
need the floppy definitions -- it has defaults built in for the floppy
drives.

Talha Ayrancı

unread,
Jan 10, 2019, 6:37:58 AM1/10/19
to BeagleBoard
I solved this problem. I am living in Turkey and when I install Ubuntu on my PC,I choosed Turkish language. The reason of my problem was about language. I cahnged English.

My suggestion USE ENGLISH on your OS.. :)

Regards.

10 Ocak 2019 Perşembe 05:30:46 UTC+3 tarihinde Dennis Lee Bieber yazdı:
Reply all
Reply to author
Forward
0 new messages