Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2013, 06:50 PM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by TheWizard View Post
but I need to hack the bootloader to redirect the kernel console away from it.
Not really, you can specify a different console device on the kernel command line at start-up.
(Kernel command line is usually defined in the U-Boot environment, so no code changes involved, just re-set what you need.)
knc1 is offline   Reply With Quote
Old 09-20-2013, 06:44 PM   #17
TheWizard
Junior Member
TheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud of
 
Posts: 7
Karma: 27748
Join Date: Dec 2012
Location: Phoenix, AZ
Device: Kindle 3 Wi-Fi, Kindle Paperwhite
Quote:
[root@kindle bin]# dd if=/dev/mmcblk0 bs=1 count=1000 skip=1281564 | hexdump -C
00000000 63 6f 6e 73 6f 6c 65 62 6c 61 6e 6b 3d 30 20 72 |consoleblank=0 r|
00000010 6f 6f 74 77 61 69 74 20 72 6f 20 69 70 3d 6f 66 |ootwait ro ip=of|
00000020 66 20 72 6f 6f 74 3d 2f 64 65 76 2f 6d 6d 63 62 |f root=/dev/mmcb|
00000030 6c 6b 30 70 31 20 71 75 69 65 74 20 65 69 6e 6b |lk0p1 quiet eink|
00000040 3d 66 73 6c 65 70 64 63 20 76 69 64 65 6f 3d 6d |=fslepdc video=m|
00000050 78 63 65 70 64 63 66 62 3a 45 36 30 2c 62 70 70 |xcepdcfb:E60,bpp|
00000060 3d 38 2c 78 5f 6d 65 6d 3d 34 4d 20 6d 65 6d 3d |=8,x_mem=4M mem=|
00000070 32 35 36 4d 00 00 00 00 00 00 00 00 00 00 00 00 |256M............|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
This is part of the kernel, compiled in boot-flags. There's no u-boot env block data on the kpw. The uboot source doesn't clearly define that it looks for one either.
TheWizard is offline   Reply With Quote
Old 09-20-2013, 08:54 PM   #18
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Not much time to work on this right now, but I REALLY want this also. Thanks for all the help so far!
brianinmaine is offline   Reply With Quote
Old 09-20-2013, 10:40 PM   #19
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by TheWizard View Post
This is part of the kernel, compiled in boot-flags. There's no u-boot env block data on the kpw. The uboot source doesn't clearly define that it looks for one either.
Yes - you are looking at the hardcoded command line in the kernel build there.

But the one in the u-boot environment can over-ride it.
That one you are not seeing because it is in another part of the flash storage than that used for the user partitions.

Grab the datasheet on the flash chip for details of where/how to look if you want to see that area rather than just us u-boot commands to change it.

(To my eyes - the U-Boot source isn't clear about anything. )
knc1 is offline   Reply With Quote
Reply

Tags
k5 tools


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Return Current Kindle Touch? New Kindle Touch Sep 6, 2012? Ozonation Amazon Kindle 19 03-06-2013 10:15 PM
Kindle Touch, Nook Touch or Kobo Touch? tron_1970 Which one should I buy? 33 05-01-2012 12:15 PM
Torn: Nook Simple Touch, Kindle Touch, Basic Kindle dblb48 Which one should I buy? 12 12-13-2011 02:34 PM
ConsumerReport: E-book readers: Nook Simple Touch tops Kindle Touch afv011 Barnes & Noble NOOK 4 11-22-2011 03:39 PM
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch jbcohen Which one should I buy? 4 06-18-2011 07:58 PM


All times are GMT -4. The time now is 07:24 AM.


MobileRead.com is a privately owned, operated and funded community.