Free Soft
Dec 4
Looks like the LCD initialization stuff wasn't as simple as I thought. Depending on the way you look at it, there are three or four major initialization steps for the display. The first step initializes the display controller chip, sets the clock and everything. The could of messages you see about the framerate and clock are from this step. The second step ought to initialize the framebuffer for the display controller. I've reverse engineered and implemented those two steps so far.

The third step is to communicate with the LCD panel itself, and likely configure it and configure the display controller for it as well. This is the infamous "merlot_init" function. I have no idea what merlot is (other than a wine variety). Could be the codename for the driver, or the display controller. Can't be for the LCD itself, since its design to hande many different panel types. It's a pretty funny name, though, so I've started working on syrah_init. Syrah, because the 2005 Dalla Vina vintage was an award-winner at the Spring Beer & Wine Fest that I went to last year.

The problem with merlot_init is that it uses GPIO, SPI, IÂ?C as well as memory mapped registers to communicate with the panel and/or the display controller. That's almost every single bus on the iPhone, so basically I had to write drivers for those controllers as well before I could start on merlot_init. Those are now written; no idea if they work, but they're written. It's going to be a big pain in the butt to debug such a complicated driver. There's just too many things that can go wrong.

It's possible I might start implementing some of the PCF50633 (iPhone's power management unit) functionality. I can at least access powernvram (the general purpose memory registers on the PMU, really) pretty simply using IÂ?C and I ought to be able to test that piece out anyway.

On another note, for the longest time I couldn't figure out what those gpmem registers did on the PMU. I reversed some code that manipulated them, but I couldn't figure out where the data was being used, etc. However, I didn't spend much time on it because I didn't think they were going to be very important for what I was doing (since their values don't affect the initialization of any of the other drivers). Well, last night I told MuscleNerd about this for some reason, and he pointed out that there's a command called "powernvram" in iBoot that, no less, attaches descriptions to every single one of those registers! They just keep track of boot failures and stupid stuff like that. It just goes to show that you can't spend TOO much time just doing static RCE. Sometimes you've got to fire up the actual application, or at least give the old ztringz a go. ;)

Tagi: wine fest, spring beer, iphe, pain in the butt, th step, funny name, pmu, hande, framerate, sime, management unit, chip sets, lcd panel, framebuffer, power management, init, two steps, award winner, general purpose, many things

Aug 30


You may be thinking, oh no I’m going to need either new tools, battery or chargers for my V28 Tools to work with the new ones… Nope that is not the case. The M28 platform will be “100% compatible” with the current Milwaukee V28 tools. In fact many of the M tools will basically stay the same, with same part numbers but will be getting the upgraded “M” batteries in the kits. The new batteries will feature Digital Power Management (DPM) and newer construction features that will extend the life of the batteries. Additionally the batteries will provide better overall performance and runtime for all your existing tools.

In addition to the upgraded battery technology we will also see the first of hopefully many new M28 tools with the M28 Hammer Drill 0726-22 ($419, Ohio Power Tool) & M28 LED Flashlight 49-24-0187 ($59, Ohio Power Tool) which should be on shelves very soon. The new ½” Hammer Drill features 750 in.lbs torque more than any other cordless drill on the market today in 18v, 24v, 28v or 36v categories. Check the Ohio Power Tool Milwaukee M28 website often for when exact each model will be in stock with the new M batteries. Items will switch as each tool transitions from V28 to M28. For more information read the official Milwaukee Tool Press Release Below. 


Tagi: lbs torque, hammer drill, milwaukee tool, battery technology, power tool, dpm, power management, new tools, flashlight, chargers, milwaukee v28, batteries, shelves, torque, transitions, amp, press release, nbsp, stock, ohio power

next >