Date: Tue, 07 Jul 2015 14:29:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201401] [PATCH] sysutils/u-boot-beaglebone Message-ID: <bug-201401-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201401 Bug ID: 201401 Summary: [PATCH] sysutils/u-boot-beaglebone Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ian@FreeBSD.org Reporter: manu@bidouilliste.com CC: freebsd-arm@FreeBSD.org CC: freebsd-arm@FreeBSD.org Assignee: ian@FreeBSD.org Flags: maintainer-feedback?(ian@FreeBSD.org) Keywords: patch Created attachment 158505 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158505&action=edit patch_saveenv This patch removes the hardcoded device for env location and set the variable bootdevice to 0 (i.e. the SD card) to the default env. This makes u-boot saves the env file according to bootdevice instead of hardcoded one (now the SD card) when using the saveenv command. This is an enhancement for users who boot from eMMC and don't affect users of SD card only. It also correct the SetupUenv command to load u-boot.env (the filename of the saved end) instead of uEnv.txt. Note that currently u-boot fails to correctly saves the env to a FAT12 partition, you must use a FAT16 one. You can create a correct bootable FAT16 partition for the eMMC like this when booting from SD card : gpart destroy -F mmcsd1 gpart create -s mbr mmcsd1 gpart add -t fat16 -b 4096 -s 10M gpart set -a active -i 1 mmcsd1 newfs_msdos -F 16 -h 4 -u 16 -S 512 -m 0xf8 -n 2 -c 4 -a 20 -r 4 -e 512 /dev/mmcsd1s1 Cheers, -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201401-13>