Closed jcftang closed 10 years ago
Oops, closing this now. Turns I didn't do this...
#!/bin/sh make -j4 \ LOADADDR=0x10008000 \ LD=gold \ KBUILD_DEBARCH=armhf \ KBUILD_IMAGE=uImage \ KBUILD_DTB=imx6q-novena.dtb \ LOCALVERSION=-novena \ KDEB_PKGVERSION=1.2 \ EMAIL="xobs@kosagi.com" \ NAME="Sean Cross" \ imx6q-novena.dtb || exit 1 make -j4 \ LOADADDR=0x10008000 \ LD=gold \ KBUILD_DEBARCH=armhf \ KBUILD_IMAGE=uImage \ KBUILD_DTB=imx6q-novena.dtb \ LOCALVERSION=-novena \ KDEB_PKGVERSION=1.2 \ EMAIL="xobs@kosagi.com" \ NAME="Sean Cross" \ deb-pkg
That looks like a problem with undervolting the CPU. Does your boot.scr contain the line "i2c mw 08 20 26"? If so, your CPU is running at 1.2V, well south of the 1.375V recommended for 1.2 GHz operation.
Yea, it contains that line. I lifted it from ...https://raw.githubusercontent.com/sutajiokousagi/meta-kosagi/novena/recipes-bsp/u-boot/u-boot-imx/boot.script as per instructions from http://www.kosagi.com/w/index.php?title=Novena/DebianBuildProcess#Compile_the_u-boot_boot_script. They might just need to be updated.
Thanks for finding that. I've updated the boot.script file to reflect the new best-practices.
Note that the boot script is assuming you're booting to /dev/mmcblk0p2. Our systems have SATA disks, with partition 2 used as an 8GB swap partition. Therefore, for our systems we replace "root=/dev/mmcblk0p2" with "root=/dev/sda3 resume=/dev/sda2" for the non-recovery bootargs.
On 07/09/14 14:20, Jimmy Tang wrote:
Yea, it contains that line. I lifted it from ...https://raw.githubusercontent.com/sutajiokousagi/meta-kosagi/novena/recipes-bsp/u-boot/u-boot-imx/boot.script as per instructions from http://www.kosagi.com/w/index.php?title=Novena/DebianBuildProcess#Compile_the_u-boot_boot_script. They might just need to be updated.
— Reply to this email directly or view it on GitHub https://github.com/xobs/novena-linux/issues/2#issuecomment-48434016.
Ok, that was pretty obvious from looking at the script, is sda1 just a reserved partition for now?
Yes, sda1 is reserved.
The i.MX6 supports booting from SATA, so in theory if you short the SATA header you can do away with the MMC card entirely. If you do this, you'll want sda1 to be present, and formatted FAT. We've gotten this working in the past, once, but haven't really pursued it.
On 07/09/14 18:32, Jimmy Tang wrote:
Ok, that was pretty obvious from looking at the script, is sda1 just a reserved partition for now?
— Reply to this email directly or view it on GitHub https://github.com/xobs/novena-linux/issues/2#issuecomment-48453976.
Trying this out
and I get this...