diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 06:45:12 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-05 06:53:44 -0300 |
commit | 8f4210ea6e51b01c5ca354c1092e63e8639fdd98 (patch) | |
tree | 3cb8525a6ceeec254e62f32bd64b489776df1171 /libre | |
parent | 4851196b76b5ac8786142f6f06ff1818e32d8a3e (diff) | |
download | abslibre-8f4210ea6e51b01c5ca354c1092e63e8639fdd98.tar.gz abslibre-8f4210ea6e51b01c5ca354c1092e63e8639fdd98.tar.bz2 abslibre-8f4210ea6e51b01c5ca354c1092e63e8639fdd98.zip |
uboot-cubox-linux-libre: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r-- | libre/uboot-cubox-linux-libre/PKGBUILD | 27 | ||||
-rw-r--r-- | libre/uboot-cubox-linux-libre/boot.txt | 12 |
2 files changed, 39 insertions, 0 deletions
diff --git a/libre/uboot-cubox-linux-libre/PKGBUILD b/libre/uboot-cubox-linux-libre/PKGBUILD new file mode 100644 index 000000000..17d8c0c9b --- /dev/null +++ b/libre/uboot-cubox-linux-libre/PKGBUILD @@ -0,0 +1,27 @@ +# U-Boot: Cubox (Dove) +# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +buildarch=4 + +_pkgname=linux-libre +pkgname=uboot-cubox-${_pkgname} +pkgver=2009.08 +pkgrel=1 +pkgdesc="U-Boot for CuBox (Dove) (built for the linux-libre kernel package)" +arch=('armv7h') +url="http://git.denx.de/u-boot.git/" +license=('GPL') +makedepends=('uboot-tools') +depends=('linux-libre') +replaces=('uboot-cubox') +backup=("boot/${pkgname}/boot.scr") +_commit=814386d3e43b8ab8d81f04aa7fe402952503d8fe +source=('boot.txt') +md5sums=('96fdd33ef33cb55d50e97dbd86a871a3') + +package() { + mkimage -A arm -O linux -T script -C none -n "Boot script" -d boot.txt boot.scr + mkdir -p "${pkgdir}/boot/${pkgname}" + cp boot.scr "${pkgdir}/boot/${pkgname}" +} diff --git a/libre/uboot-cubox-linux-libre/boot.txt b/libre/uboot-cubox-linux-libre/boot.txt new file mode 100644 index 000000000..690562173 --- /dev/null +++ b/libre/uboot-cubox-linux-libre/boot.txt @@ -0,0 +1,12 @@ +echo ======== Starting boot ======== +usb start +setenv uimagearg 'uImage-linux-libre' +setenv uinitarg 'uInitrd-linux-libre' +setenv my1arg 'console=ttyS0,115200n8 console=tty1,115200n8' +setenv my2arg 'vmalloc=384M video=dovefb:lcd0:1280x720-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0' +ext2load ide 0:1 0x04000000 /boot/${uinitarg} && ext2load ide 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 0x04000000 +ext2load usb 0:1 0x04000000 /boot/${uinitarg} && ext2load usb 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 0x04000000 +ext2load mmc 0:1 0x04000000 /boot/${uinitarg} && ext2load mmc 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/mmcblk0p1 rw rootwait' && bootm 0x02000000 0x04000000 +ext2load ide 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 +ext2load usb 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 +ext2load mmc 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/mmcblk0p1 rw rootwait' && bootm 0x02000000 |