Hi to all! I'm one of the happy recent owners of pandora, and I like it. But, I like Debian too, so I have tried to use the wiki, this forum and other web pages to find a way to install armhf on my SD card. So far, I haven't had much success. It seems to me as if there is a bit of confronting information which doesn't work for me.
I have choosen to use armhf kernel, and perhaps this is the main issue that I have with the instalation.
Since I'm using still developing Debian architecture, I'm using Sid version, and kernel 3.2.0. I have managed to partition my card to ext2 and swap partition, and using qemu-arm-static and chroot on my desktop PC to install armhf on the card. But, there are a few issues that I'm not sure about.
As far as I have been able to gather, if there is an OS on SD card, pandora will first boot xloader and u-boot from NAND. Now, for the next step I'm not sure. When I put autoboot.txt with
setenv bootargs debug root=/dev/mmcblk0p1 rw rootdelay=2 vram=6272K omapfb.vram=0:3000K
ext2load mmc 0:1 0x80300000 /boot/kernel-name
bootm 0x80300000
I have the following:
1)
if I just use default vmlinuz-3.2.0-2-omap, then pandora boots, but with NAND kernel, and then greets me with the message "/sbin/init: 0: can't access tty: job control turned off". I can then use command line to see that the booted kernel is the NAND one. I can manually do limited stuff in the system, and I can see that the SD is mounted and that I'm using the system from SD, but the system didn't boot entirely and properly.
2)
If I use uImage which I have created with
mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n 3.2.0-2-omap -d /boot/vmlinuz-3.2.0-2-omap /boot/uImage
which I have found on https://wiki.adyxax....ers/OpenPandora and this is the only place that I have been able to find exact parameters to use for pandora. On this site there is also an line about using mkimage with initrd.img.
Then all I see is the cube logo at the beginning of the pandora boot, and it stays that way. I have read that for the first time it takes a while (I don't understand why?) for it to boot, but I have waited for over half an hour and nothing.
The things that confuse me are:
- I have found 2 distinct and different formats for autoboot.txt file. Which one should I use?
- Why does Pandora boot NAND kernel if I have autoboot.txt on my first ext2 SD primary partition?
- Do I have to use mkimage or not, and if I do, what parameters do I have to use?
- What about initrd.img? Do I have to do something or not with that?
- If pandora boots NAND kernel, is it an first stage and it then wants to boot my kernel but fails for some reason? This I find strange because as far as I know, no other linux system boots this way - first one kernel and then the other.
I know about "Debian on SD" and other projects, but I'd like to use Debian packaging system in full, including kernel updates and similar.
I have choosen to use armhf kernel, and perhaps this is the main issue that I have with the instalation.
Since I'm using still developing Debian architecture, I'm using Sid version, and kernel 3.2.0. I have managed to partition my card to ext2 and swap partition, and using qemu-arm-static and chroot on my desktop PC to install armhf on the card. But, there are a few issues that I'm not sure about.
As far as I have been able to gather, if there is an OS on SD card, pandora will first boot xloader and u-boot from NAND. Now, for the next step I'm not sure. When I put autoboot.txt with
setenv bootargs debug root=/dev/mmcblk0p1 rw rootdelay=2 vram=6272K omapfb.vram=0:3000K
ext2load mmc 0:1 0x80300000 /boot/kernel-name
bootm 0x80300000
I have the following:
1)
if I just use default vmlinuz-3.2.0-2-omap, then pandora boots, but with NAND kernel, and then greets me with the message "/sbin/init: 0: can't access tty: job control turned off". I can then use command line to see that the booted kernel is the NAND one. I can manually do limited stuff in the system, and I can see that the SD is mounted and that I'm using the system from SD, but the system didn't boot entirely and properly.
2)
If I use uImage which I have created with
mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n 3.2.0-2-omap -d /boot/vmlinuz-3.2.0-2-omap /boot/uImage
which I have found on https://wiki.adyxax....ers/OpenPandora and this is the only place that I have been able to find exact parameters to use for pandora. On this site there is also an line about using mkimage with initrd.img.
Then all I see is the cube logo at the beginning of the pandora boot, and it stays that way. I have read that for the first time it takes a while (I don't understand why?) for it to boot, but I have waited for over half an hour and nothing.
The things that confuse me are:
- I have found 2 distinct and different formats for autoboot.txt file. Which one should I use?
- Why does Pandora boot NAND kernel if I have autoboot.txt on my first ext2 SD primary partition?
- Do I have to use mkimage or not, and if I do, what parameters do I have to use?
- What about initrd.img? Do I have to do something or not with that?
- If pandora boots NAND kernel, is it an first stage and it then wants to boot my kernel but fails for some reason? This I find strange because as far as I know, no other linux system boots this way - first one kernel and then the other.
I know about "Debian on SD" and other projects, but I'd like to use Debian packaging system in full, including kernel updates and similar.