WORK = $(PWD)/work
MKIMAGE = $(PWD)/../../work/mkimage
ZIMAGE = $(PWD)/../../../kernel/cubox/work/zImage
-INITRDGZ = $(PWD)/../../../initrd/work/initrd.gz
+INITRDGZ = $(PWD)/../../../initrd/work/initrd-hardfp.gz
.PHONY: all clean distclean uImage uInitrd bootscr
install -d $(WORK)
$(WORK)/uImage: $(WORK) $(MKIMAGE) $(ZIMAGE)
- $(MKIMAGE) -A arm -O linux -a 0 -e 0 \
- -T kernel -C none -n "Linux-2.6.32.9-cubox" \
+ $(MKIMAGE) -A arm -O linux -a 0x1a000000 -e 0x1a000000 \
+ -T kernel -C none -n "Linux-3.5.3-cubox" \
-d $(ZIMAGE) $(WORK)/uImage
uImage: $(WORK)/uImage
rm -f $(WORK)/uImage
$(WORK)/uInitrd: $(WORK) $(MKIMAGE) $(INITRDGZ)
- $(MKIMAGE) -A arm -O linux -a 0x1a000000 -e 0x1a000000 \
+ $(MKIMAGE) -A arm -O linux -a 0 -e 0 \
-T ramdisk -C none -n "CRUX-ARM Initrd Image" \
-d $(INITRDGZ) $(WORK)/uInitrd
$(WORK)/boot-ram.scr: $(WORK) $(MKIMAGE) $(PWD)/boot-ram.script
$(MKIMAGE) -A arm -O linux -a 0 -e 0 \
- -T script -C none -n "EfikaMX Boot Script (ram)" \
+ -T script -C none -n "CuBox Boot Script (ram)" \
-d $(PWD)/boot-ram.script \
$(WORK)/boot-ram.scr
$(WORK)/boot-mmcblk.scr: $(WORK) $(MKIMAGE) $(PWD)/boot-mmcblk.script
$(MKIMAGE) -A arm -O linux -a 0 -e 0 \
- -T script -C none -n "EfikaMX Boot Script (mmcblk)" \
+ -T script -C none -n "CuBox Boot Script (mmcblk)" \
-d $(PWD)/boot-mmcblk.script \
$(WORK)/boot-mmcblk.scr
setenv kernel uImage;
+setenv loadcmd ext2load mmc 0:1
setenv kerneladdr 0x16000000;
-setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 ro;
+setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 ro rootwait vmalloc=384M video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0;
${loadcmd} ${kerneladdr} ${kernel}
if imi ${kerneladdr}; then
bootm ${kerneladdr}
+setenv loadcmd ext2load usb 0:1;
setenv ramdisk uInitrd;
setenv ramdiskaddr 0x18000000;
setenv kernel uImage;
setenv kerneladdr 0x16000000;
-setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootdelay=10 ro;
+setenv bootargs console=ttyS0,115200 root=/dev/ram0 ro rootwait vmalloc=384M video=dovefb:lcd0:1920x1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0;
${loadcmd} ${ramdiskaddr} ${ramdisk};
if imi ${ramdiskaddr}; then; else
setenv bootargs ${bootargs} noinitrd;