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
On Tue, 8 Jan 2019 14:21:10 -0800 (PST), Talha Ayranc?
<talhayranci@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?
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ı:
On Wed, 9 Jan 2019 11:13:22 -0800 (PST), Talha Ayranc?
<talhayranci@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.
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ı: