Where can I locate (if anywhere) a full cyanoboot?

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
I'm looking for a full copy of Cyanoboot for the HD+. I know that there is a copy installed with CM 10.1 SD card installs, which works fine for me, however I would like to be able to have the full menu, fastboot, ect.

Thread for the Nook Color
http://forum.xda-developers.com/showthread.php?t=1522226

If I can find this, I plan to port Arch, and Debian Linux to this device, without android. I already have a chroot with full framebuffer access, but I think that this would be the next logical step. It runs really well.

Also, as a quick side question, has anyone gotten USB host mode to work? I haven't been able to try (female to female USB cable needed, same as the nook color)

EDIT:
https://github.com/NookieDevs/u-boot-hummingbird-ovation
I'm willing to compile from source, but I'm having trouble with finding what type of CPU is in this. I know it's a Dual core, 1500 MHz, ARM Cortex-A9, but I don't know what CPU in that lost would equate to.
 
Last edited:

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
I'm looking for a full copy of Cyanoboot for the HD+. I know that there is a copy installed with CM 10.1 SD card installs, which works fine for me, however I would like to be able to have the full menu, fastboot, ect.

Thread for the Nook Color
http://forum.xda-developers.com/showthread.php?t=1522226

If I can find this, I plan to port Arch, and Debian Linux to this device, without android. I already have a chroot with full framebuffer access, but I think that this would be the next logical step. It runs really well.
There is not a prebuilt cyanoboot (u-boot.bin) for the HD+. There is a github here. This is what verygreen built his with, and in his it is named uImage in his boot partition. It is also known as the second bootloader which is what breaks the lock from B&N.

He has not included the normal menu items because he could not get the volume up/down keys to work. Bokbokan on the HD overcame that by using just the n key to manipulate the cursor by a series of n pushes. So the HD has a boot menu. You can see his source posted on his CM10 thread. He does not have a github set up but the source is there so you can look how he set up the menu for HD.
 
  • Like
Reactions: kdb424

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Any chance that you know what CPU type (from the list that uboot has to offer) that the nook HD+ has in it? I have the source, and I'm ready to compile, but not sure which one it is. Once I'm past the bootloader issue, I should have no trouble setting up linux on this device.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
Any chance that you know what CPU type (from the list that uboot has to offer) that the nook HD+ has in it? I have the source, and I'm ready to compile, but not sure which one it is. Once I'm past the bootloader issue, I should have no trouble setting up linux on this device.
Be sure to use the one from fattire, not the nookiedevs. It is an omap4.

EDIT: I added some commands I got from bokbokan some time back. See attached zip

EDIT 2: I removed the attchment and just going to post the commands here

export ARCH=arm
export CROSS_COMPILE=arm-none-linux-gnueabi-
export PATH=<location where u-boot source is extracted>/tools:$PATH

cd <location where u-boot source is extracted>
make distclean
make bn_ovation_config
make

This will compile the original source from verygreen initial u-boot source.

mkimage -A arm -O linux -T kernel -C none -a 0x83000000 -e 0x83000000 -n "2nd Bootloader" -d u-boot.bin uImage
 
Last edited:
  • Like
Reactions: kdb424

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Having trouble getting it to find OMAP4, but I'll continue looking into it after work. There's a compiled uImage, I'll try that also. I don't need to change the source really, so if it's compiled, I should be able to skip that step. Wish me luck.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
seems that my cross compile environment is currently broken, and it looks like the uboot images for the HD won't work on the HD+. That'll stall my development until I can either fix it, or if someone else can compile and send it to me.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
Booting to a black screen after compiling as per your instructions. Replaced u-boot.bin and uImage. Any ideas?
U-boot.bin is stock and should remain the same as before. Only uImage gets added to the boot partition so that it can be the second bootloader loaded by the stock u-boot.bin. Like you said, you can just copy verygreen's uImage and it should boot. You can get it from his image zips on his thread. The HD and HD+ uImage files are not compatible with each other.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Grabbed the source from Bokbokan's thread for uboot, got compile to work as per your instructions, replaced uImage with my newly compiled uImage, and it just boots the EMMC without even acting like there is an SD card in there. It was booting the old uImage (I started with the CM10.1 SD card install and made sure that booted)
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
Grabbed the source from Bokbokan's thread for uboot, got compile to work as per your instructions, replaced uImage with my newly compiled uImage, and it just boots the EMMC without even acting like there is an SD card in there. It was booting the old uImage (I started with the CM10.1 SD card install and made sure that booted)
You should be using the source from the fattire github, not bokbokan's source if you want HD+.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
You should be using the source from the fattire github, not bokbokan's source if you want HD+.

Sent from my Nook HD+ running CM10.1 on emmc.
I got an error with the fattire source, but not the other sources, so I know my env is set up correctly.

{standard input}:265: Error: selected processor does not support ARM mode smc #0 Ideas?

EDIT:
Could be this. Looking into it.
http://forum.xda-developers.com/showpost.php?p=21393475&postcount=424

EDIT2: This is "wrong" but compiles. Testing
http://ding34.blogspot.com/2013/05/error-selected-processor-does-not.html

EDIT3: Still bypassing the SDcard. With the original uImage, it boots my SD, but with my new uImage from fattire source, it skips it.
 
Last edited:

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
I got an error with the fattire source, but not the other sources, so I know my env is set up correctly.

{standard input}:265: Error: selected processor does not support ARM mode smc #0 Ideas?

EDIT:
Could be this. Looking into it.
http://forum.xda-developers.com/showpost.php?p=21393475&postcount=424

EDIT2: This is "wrong" but compiles. Testing
http://ding34.blogspot.com/2013/05/error-selected-processor-does-not.html

EDIT3: Still bypassing the SDcard. With the original uImage, it boots my SD, but with my new uImage from fattire source, it skips it.
I got that error and it had to do with version of the toolchain. I had to downgrade to an earlier codesourcery, I think.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
It compiled just fine. If you want the fixed source (well, by fixed, I mean more compatible) let me know. It doesn't boot as far as I can tell, but I may just be oblivious to something.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
It compiled just fine. If you want the fixed source (well, by fixed, I mean more compatible) let me know. It doesn't boot as far as I can tell, but I may just be oblivious to something.
Oh, you used the wrong branch in fattire. You need to do the second loader branch, not the master.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Oh, you used the wrong branch in fattire. You need to do the second loader branch, not the master.

Sent from my Nook HD+ running CM10.1 on emmc.
Well, your were right, I cloned the master the first time. This time, I had the same errors, which that fixed also worked, but this time, I sit at a black screen. No fastboot, no anything. Just hangs.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
Well, your were right, I cloned the master the first time. This time, I had the same errors, which that fixed also worked, but this time, I sit at a black screen. No fastboot, no anything. Just hangs.
Well, I know I was able to build it and made a change so that you hold the n key and it booted to stock instead of the hybrid. So you must have something wrong in your setup.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Isn't there supposed to be a menu or something? I though there was a screen telling you what options you had. I mainly need fastboot access. I mean, I can do it with recovery, butI know fastboot a lot better.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
Isn't there supposed to be a menu or something? I though there was a screen telling you what options you had. I mainly need fastboot access. I mean, I can do it with recovery, butI know fastboot a lot better.
That is why I pointed you to bokbokan's source for the hummingbird. He has an example in his of the menu. I think it is menu.c, but remember the hardware is different for the hummingbird so his will not work on the ovation. Also, I thought fastboot was only for partitions that were in fastboot format. The SD install is all MTD partitions.

Sent from my Nook HD+ running CM10.1 on emmc.
 

kdb424

Senior Member
Dec 28, 2010
816
350
0
30
Pittsburgh
Got ya. I'll get on that. I was under the impression that one could simply be reconfigured. I'll look into the code when I finally get a day off. Thank you for all of your help.