Remove All Ads from XDA

Bootloader cracked and next steps

218 posts
Thanks Meter: 463
By nemith, Senior Member on 11th January 2012, 09:24 PM
Post Reply Email Thread
14th January 2012, 11:47 AM |#21  
fattire's Avatar
Inactive Recognized Developer
Thanks Meter: 6,365
Donate to Me
Thumbs up 2nd bootloader gains on-screen text abilities....
nemith confirmed for me tonight: The UB2 console feature I just added (well, sorta ported and made to work with this device really) is a go, which is currently manifested as true, textual boot info (similar to the one I did for NookColor UBoot). So you'll get a "Booting into SD Recovery..." type of feedback in actual text on-screen.

Before I was achieving a similar result by showing different images based on how you chose to boot. But that wasted a lot of space.

So UB2 has dropped in size as a result, from ~260K to ~176K. No menu or anything exists yet, so it will go up. But much better. Assuming there aren't big problems discovered tomorrow, the hard part is done now.

More very interesting discoveries to come relating to SD boot, once I fully comprehend the significance of what I've learned/am realizing... better to wait till I'm awake though and can think about it more.... it's late and I could be totally wrong.

Anyway, implemented now in 2ndbootloader (UB2):

* safety stuff; do-the-right-thing behaviors
* 512 buffer size default for boot partitions
* new boot modes
* New keypresses for recovery boot vs. normal boot on SD/emmc
* text now works
* instant feedback on what is loading...
* themed
* smaller size
* misc fixes

Another good day I think. Especially, and I emphasize-- I have no NT
The Following 21 Users Say Thank You to fattire For This Useful Post: [ View ] Gift fattire Ad-Free
14th January 2012, 10:26 PM |#22  
c0ldburn3r's Avatar
Senior Member
Flag Wet Side of Washington
Thanks Meter: 349
This is my thank you to everyone that is working on and helping with the NT

So glad Jerry took my tip!
The Following User Says Thank You to c0ldburn3r For This Useful Post: [ View ] Gift c0ldburn3r Ad-Free
17th January 2012, 03:56 AM |#23  
PG101's Avatar
RC-RT Liaison Admin - Devil's Advocate
Thanks Meter: 14,552
Donate to Me
Moderator Message
Guys... Enough with the ETAs... It will be ready when its ready.. I will be cleaning this thread of unwanted messages.

Next time it will be construed as spamming the thread.

The Following 9 Users Say Thank You to PG101 For This Useful Post: [ View ] Gift PG101 Ad-Free
17th January 2012, 04:10 PM |#24  

I dropped the /etc/*.so files into my Ubuntu project. The Volume and power buttons are now working and the device goes into standby/resumes correctly. Just a tip... maybe it will work for CM9.

Also, I found the proper kernel module for wifi in /etc/wifi. It's likely issuing an insmod on this Kernel Object file will make wifi work.
The Following User Says Thank You to AdamOutler For This Useful Post: [ View ]
17th January 2012, 11:28 PM |#25  
O_G's Avatar
ET Admin
Flag Glosta
Thanks Meter: 6,634
As requested i have cleaned this thread. Please dont be offended if your post had been deleted. I just deleted all non dev posts.

Lets keep the thanks posts down. It just makes it more difficult to track the good development going on.

As Robo says Thank you for your co-operation
The Following 9 Users Say Thank You to O_G For This Useful Post: [ View ] Gift O_G Ad-Free
18th January 2012, 12:12 AM |#26  
Senior Member
Thanks Meter: 451
Donate to Me
Actual bootloader hook?
So I have been doing some research today because people have been asking the question "How do I make a boot.img?" and have stumbled upon an interesting hole in the boot... Was curious if someone could find out what is actually stored in the SAR RAM...

* The SAR RAM is maintained during Device OFF mode.
* It is split into 4 banks with different privilege accesses
* ---------------------------------------------------------------------
* Access mode Bank Address Range
* ---------------------------------------------------------------------
* HS/GP : Public 1 0x4A32_6000 - 0x4A32_6FFF (4kB)
* HS/GP : Public, Secured
* if padconfaccdisable=1 2 0x4A32_7000 - 0x4A32_73FF (1kB)
* HS/EMU : Secured
* GP : Public 3 0x4A32_8000 - 0x4A32_87FF (2kB)
* HS/GP :
* Secure Priviledge,
* write once. 4 0x4A32_9000 - 0x4A32_93FF (1kB)
* ---------------------------------------------------------------------
* The SAR RAM save regiter layout is fixed since restore is done by hardware.
- Source (Line 23)

As I have learned that...

Code: Public Use of SAR RAM
At system level, the OMAP4430 SAR RAM memory is divided into four banks. The public ROM code uses only the first bank, which is always public-accessible. More specifically, the software booting configurationstructure must be located in the upper 1.5KB of the first bank. 
The public ROM code offers some flexibility about the location of the software booting configuration structure. The PUBLIC_SW_BOOT_CFG_ADDR pointer defines the start address of the structure within the SAR RAM bank (see Table 27-14).
As mentioned previously, the software booting configuration feature is optional. Hence, the public ROM code decides to use the feature based on the value read on a warm reset at the address pointed to by the PUBLIC_SW_BOOT_CFG_ADDR pointer. If the value matches the range 0x4A326A00 – 0x4A326FFF, the ROM code tries to extract the structure located at that address. The value pointed to by PUBLIC_SW_BOOT_CFG_ADDR is always overwritten to zero on a cold reset.
The recommended address for storing the software booting configuration structure described hereafter is defined as PUBLIC_SAR_RAM_1_FREE. It is, however, possible to locate the structure at any location within the 1.5-KB range.
It is moreover possible to use the public SAR RAM area for any other purpose, such as storing traces for HLOS use. Obviously, care must be taken not to overwrite the locations used for low-power modes and/or software booting configuration if used.
Id be interested to see if we could modify that 1.5K code, to point to a different uboot or software header.
The Following User Says Thank You to Loglud For This Useful Post: [ View ] Gift Loglud Ad-Free
20th January 2012, 04:03 AM |#27  
Thanks Meter: 34
It's been mentioned that the first/second posts in this thread are being updated periodically...

I've seen Nemith's last edit timestamp update multiple times over the past few days, however the same information is in those posts as i saw on day 2 of this thread.

Am i perhaps loading a cached version of the page? Or is no real information changing in those posts? Sorry/thanks...
21st January 2012, 12:10 AM |#28  
dodgepot's Avatar
Senior Member
Flag Las Vegas
Thanks Meter: 69
Haha, sorry. It was late and I was half asleep when I posted that.

This is his last entry regarding it:

@AndroidNemith After wasting the morning looking for omap4 keypad support of u-boot. I think it's time to tackle wifi #NT #CM9

If this post helped click the thanks button!
The Following 7 Users Say Thank You to dodgepot For This Useful Post: [ View ] Gift dodgepot Ad-Free
24th January 2012, 10:47 PM |#29  
Senior Member
Flag Washington DC
Thanks Meter: 536
Donate to Me
Originally Posted by CelticWebSolutions

Likely to be more like a c team lol. I wouldn’t know wher to start to get it to boot a whole new Rom.

Lerning how ot build a CWM zip might be a good start

Hey guys. I've been working on getting CM7 going by porting the Book Color build. I've been skirting the by putting a modified boot.img and system.ext4.tx in a CWM backup folder.

I've been able to get Bauwks 2ndboot wraper to fire up but the boot.img doesn't seem to get past the kernel.

Anyone who wants to help is welcome. We can start a new thread and ill post my files.
25th January 2012, 03:38 PM |#30  
Flag Holliston. MA
Thanks Meter: 9
Thumbs up I can help team C or B or maybe A...
Originally Posted by dodgepot

I can offer help where possible.

Thanks for the work, guys.

I can help team C or B or maybe A...

Why to solve the cut and paste issue, that is why I want to help.

Again thanks to all that are making the Nook Tablet better...
25th January 2012, 08:25 PM |#31  
CelticWebSolutions's Avatar
Senior Member
Thanks Meter: 2,023
Donate to Me
Originally Posted by Goncezilla

Well then, let's start that new thread Who wants in on B-team?

AS I'm sure you can guess I'm most definitely in. I was debating starting the thread myself but was wondering if perhaps we should start it in a general section so as not to annoy developers when we are just questioning and asking each other things, then maybe once it's getting somewhere we could clean up the thread and ask for it to move to dev forum. What do you think?

Originally Posted by Indirect

I can join in with you Goncezilla, I have access to a build bot anyway so I can run building (I also can host on goo-inside.)

Yay! We've got 'The Man' on board Again if we need to host a little I'm sure I can spare some server space if goo-inside becomes an issue at all. Personally having to wait a sec before the download starts doesn’t bother me at all.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes