Hi All,
I am trying to create beagle_sd.img for beagle board using linaro-media-create, by referring the procedure in
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=BeagleBoardPkg#How_to_build_UEFI_for_the_BeagleBoard
But I am getting the below error.
Could someone please help resolve the issue.
kiran@kiran-desktop:~/beagle_image$ sudo linaro-media-create --image_file beagle_sd.img --dev beagle --binary linaro-m-headless-tar-20101101-0.tar.gz --hwpack hwpack_linaro-omap3_20101109-1_armel_supported.tar.gz
/usr/lib/pymodules/python2.6/argparse.py:1576: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
Searching correct rootfs path
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-omap3_20101109-1_armel_supported.tar.gz in target rootfs.
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ Release.gpg
Ign filetmp/tmp.PybN7nuXq3/unpacked/pkgs/ ./ Translation-en
Ign file: ./ Release
Ign file: ./ Packages
Get:1 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/linaro-maintainers/overlay/ubuntu/ maverick/main
Translation-en
Ign http://ports.ubuntu.com maverick Release.gpg
Ign http://ports.ubuntu.com/ maverick/main Translation-en
Ign http://ports.ubuntu.com/ maverick/universe Translation-en
Ign http://ports.ubuntu.com maverick-security Release.gpg
Ign http://ports.ubuntu.com/ maverick-security/main Translation-en
Ign http://ports.ubuntu.com/ maverick-security/universe Translation-en
Ign http://ports.ubuntu.com maverick-updates Release.gpg
Ign http://ports.ubuntu.com/ maverick-updates/main Translation-en
Ign http://ports.ubuntu.com/ maverick-updates/universe Translation-en
Ign http://ports.ubuntu.com maverick-proposed Release.gpg
Ign http://ports.ubuntu.com/ maverick-proposed/main Translation-en
Get:2 http://ppa.launchpad.net maverick Release [9762B]
Ign http://ports.ubuntu.com/ maverick-proposed/universe Translation-en
Ign http://ports.ubuntu.com maverick Release
Ign http://ports.ubuntu.com maverick-security Release
Get:3 http://ppa.launchpad.net maverick/main armel Packages [11.7kB]
Ign http://ports.ubuntu.com maverick-updates Release
Ign http://ports.ubuntu.com maverick-proposed Release
Ign http://ports.ubuntu.com maverick/main armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick/universe armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-security/main armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-security/universe armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-updates/main armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-updates/universe armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-proposed/main armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick-proposed/universe armel Packages/DiffIndex
Ign http://ports.ubuntu.com maverick/main armel Packages
Ign http://ports.ubuntu.com maverick/universe armel Packages
Ign http://ports.ubuntu.com maverick-security/main armel Packages
Ign http://ports.ubuntu.com maverick-security/universe armel Packages
Ign http://ports.ubuntu.com maverick-updates/main armel Packages
Ign http://ports.ubuntu.com maverick-updates/universe armel Packages
Ign http://ports.ubuntu.com maverick-proposed/main armel Packages
Ign http://ports.ubuntu.com maverick-proposed/universe armel Packages
Err http://ports.ubuntu.com maverick/main armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick/universe armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-security/main armel Packages
Err http://ports.ubuntu.com maverick/main armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick/universe armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-security/main armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-security/universe armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-updates/main armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-updates/universe armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-proposed/main armel Packages
404 Not Found
Err http://ports.ubuntu.com maverick-proposed/universe armel Packages
404 Not Found
Fetched 21.8kB in 2s (9070B/s)
W: Failed to fetch http://ports.ubuntu.com/dists/maverick/main/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick/universe/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-security/main/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-security/universe/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-updates/main/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-updates/universe/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-proposed/main/binary-armel/Packages.gz 404
Not Found
W: Failed to fetch http://ports.ubuntu.com/dists/maverick-proposed/universe/binary-armel/Packages.gz 404
Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Cleaning up .../bin/mv: cannot stat `/sbin/start-stop-daemon.REAL': No such file or directory
proc umounted
Traceback (most recent call last):
File "/usr/bin/linaro-media-create", line 202, in <module>
verified_files, extract_kpkgs, *hwpacks)
File "/usr/lib/pymodules/python2.6/linaro_image_tools/media_create/chroot_utils.py", line 89, in install_hwpacks
hwpack_force_yes or hwpack_verified)
File "/usr/lib/pymodules/python2.6/linaro_image_tools/media_create/chroot_utils.py", line 129, in install_hwpack
cmd_runner.run(args, as_root=True, chroot=chroot_dir).wait()
File "/usr/lib/pymodules/python2.6/linaro_image_tools/cmd_runner.py", line 100, in wait
raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['chroot', '/tmp/tmpaR5Ly6/rootfs/binary', 'linaro-hwpack-install', '--hwpack-version', '20101109-1', '--hwpack-arch', 'armel', '--hwpack-name', 'linaro-omap3',
'/hwpack_linaro-omap3_20101109-1_armel_supported.tar.gz']" returned a non-zero value: 1
Regards,
Amar Shankar