Welcome! Log In Create A New Profile

Advanced

Latest UBoot - cannot boot Debian 3.16 - NEWBIE

Posted by befuddled 
Latest UBoot - cannot boot Debian 3.16 - NEWBIE
October 08, 2015 02:35PM
Ok. As a newbie, I am trying to understand somethings, I have a Pogoplug V2. I was running Debian 3.16 of bodhi's.

1. I installed the latest uBoot listed here "" http://forum.doozan.com/read.php?3,12381 "".

2. I flasehd the default envs img from step "" B. Flashing default u-boot envs image "". It went fine using "" uboot.2014.07-tld-2.environment.bodhi.tar ""

3. I flashed Linux Kernel 4.2 from http://forum.doozan.com/read.php?2,12096 and then did step because I was coming from the latest ArchLinux (2015) (Arch uBoot????)

4a. Boot with DTB file (standard way to boot FDT kernel). Recommended. 

Again, please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box. 

Generate the uImage and uInitrd, and set U-Boot envs for booting (the u-boot envs below are for first time upgrading, you might already have these set up): 
cd /boot
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.1.0-kirkwood-tld-1 -d vmlinuz-4.1.0-kirkwood-tld-1 uImage 
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.1.0-kirkwood-tld-1 -d initrd.img-4.1.0-kirkwood-tld-1 uInitrd

fw_setenv load_dtb 'ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-goflexnet.dtb'    
fw_setenv load_initrd 'ext2load usb 0:1 0x1100000 /boot/uInitrd'
fw_setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
fw_setenv usb_boot 'run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi'

4. Now Debian 3.16 will not boot. I get an orange light.

5. I also cannot ssh to pogoplug WITHOUT USB. Without USB I get green blinking light - black --green blinking light --black --- etc.

Q: How do I get back to ssh to Pogoplug wihtout USB.

** Do I need to use Debian 3.18???

THanks for any help !



Edited 4 time(s). Last edit at 10/08/2015 04:16PM by befuddled.
Re: Latest UBoot - cannot boot Debian 3.16 - NEWBIE
October 08, 2015 11:10PM
befuddled,

> 1. I installed the latest uBoot listed here ""
> http://forum.doozan.com/read.php?3,12381 "".

> 4a. Boot with DTB file (standard way to boot FDT
> kernel). Recommended.

You've set up u-boot to boot with separate DTB. The kernel 3.16 is not a FDT kernel (i.e. no DTB). Use the 3.18.5 kernel or later.

If you have installed kernel 4.2 on top of your 3.16 rootfs, then it became the 4.2 rootfs. So for what ever reason that it is not booting, it's related to how you have installed the 4.2 kernel.

- Post the log of what you've done,
- or if you don't have the log then describe it.
- or you can start fresh and recreate the rootfs using 3.18.5 rootfs from the kernel/rootfs thread , if your current rootfs does not have any thing you want to keep.

I think you might have a mis-step during installation of kernel 4.2.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Latest UBoot - cannot boot Debian 3.16 - NEWBIE
October 09, 2015 05:56AM
Thanks bodhi.

1. I used 3.18.5 and it now boots fine. It actually boots my ArchLinux latest (2015) fine also

2. I just followed the steps listed exactly. For kernel 4.2, it says DTB is recommended. So if 3.16 is not DTB, how should I set up kernel 4.2 to use 3.16. Or are you saying I cannot at all use 3.16 with Kernel 4.2?

3. THIS IS IMPORTANT: Without USB, I cannot ssh to Pogoplug. Is this how the latest uBoot is? Hpw can I get back ssh to plain Pogoplug without USB stick?

Thanks again.
Re: Latest UBoot - cannot boot Debian 3.16 - NEWBIE
October 09, 2015 02:20PM
befuddled,

> 2. I just followed the steps listed exactly. For
> kernel 4.2, it says DTB is recommended. So if
> 3.16 is not DTB, how should I set up kernel 4.2 to
> use 3.16. Or are you saying I cannot at all use
> 3.16 with Kernel 4.2?

After you've installed 4.2, your rootfs runs 4.2 kernel. Everything else in the rootfs is still the same until you do
apt-get update
apt-get upgrade

or do this upgrade (warning: you must back up your rootfs before doing dist-upgrade, it's a major upgrade to jessie)
apt-get dist-upgrade

If you don't want to dist-upgrade, the just do apt-get upgrade to get latest version of packages.


> 3. THIS IS IMPORTANT: Without USB, I cannot ssh
> to Pogoplug. Is this how the latest uBoot is?
> Hpw can I get back ssh to plain Pogoplug without
> USB stick?

You can boot back to stock OS. But more u-boot envs set up is needed. Search in the forum for this. If you can't find the info, post back.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: