Nook Color?

Install Arch Linux ARM on other devices.

Nook Color?

Postby Kurlon » Mon Jan 16, 2012 10:10 pm

Someone has already started the heavy lifting, at least partially:

http://forum.xda-developers.com/showthr ... ght=ubuntu

This provides an SDCard that will boot into a butchered Ubuntu Maverick install. Wireless is functional, as is sound. No accelerated GFX yet, etc.

This takes advantage of the fact that the Nook Color will boot a correctly formatted SDCard directly, kinda like how the OXNAS platform will blind boot off SATA if the drive is prepared correctly.

I've got a Nook, a couple x86 linux machines as build slaves, etc, and a GoFlex Net for native ARM work. I'm not a kernel coder by any stretch of the imagination though. I'll post what I find here, and maybe an ALARM port can be stumbled through for the device?

Edit:
For those that hate multi-upload and the crazy banner farm hell it is, someone has hosted the files elsewhere:
http://www.nook.psykosis.net/nookbuntu-boot.7z
http://www.nook.psykosis.net/nookbuntu-0.3beta.tgz
http://www.x386.net/nc/sdmaker.sh
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: Nook Color?

Postby Kurlon » Mon Jan 16, 2012 11:55 pm

dmesg from Nookbuntu:

$this->bbcode_second_pass_code('', 'root@localhost:~# dmesg
layer initialized
musb_hdrc: version 6.0, musb-dma, peripheral, debug=0
Switched to high resolution mode on CPU 0
musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
musb_hdrc: MHDRC RTL version 1.800
musb_hdrc: setup fifo_mode 4
musb_hdrc: 29/31 max ep, 15424/16384 memory
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 512
musb_hdrc: hw_ep 1rx, max 512
musb_hdrc: hw_ep 2tx, max 512
musb_hdrc: hw_ep 2rx, max 512
musb_hdrc: hw_ep 3tx, max 512
musb_hdrc: hw_ep 3rx, max 512
musb_hdrc: hw_ep 4tx, max 512
musb_hdrc: hw_ep 4rx, max 512
musb_hdrc: hw_ep 5tx, max 512
musb_hdrc: hw_ep 5rx, max 512
musb_hdrc: hw_ep 6tx, max 512
musb_hdrc: hw_ep 6rx, max 512
musb_hdrc: hw_ep 7tx, max 512
musb_hdrc: hw_ep 7rx, max 512
musb_hdrc: hw_ep 8tx, max 512
musb_hdrc: hw_ep 8rx, max 512
musb_hdrc: hw_ep 9tx, max 512
musb_hdrc: hw_ep 9rx, max 512
musb_hdrc: hw_ep 10tx, max 512
musb_hdrc: hw_ep 10rx, max 512
musb_hdrc: hw_ep 11tx, max 512
musb_hdrc: hw_ep 11rx, max 512
musb_hdrc: hw_ep 12tx, max 512
musb_hdrc: hw_ep 12rx, max 512
musb_hdrc: hw_ep 13tx, max 512
musb_hdrc: hw_ep 13rx, max 512
musb_hdrc: hw_ep 14shared, max 1024
musb_hdrc: hw_ep 15shared, max 1024
musb_hdrc: USB Peripheral mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 1000K
dspbridge_init: 600000 bytes @ 81200000
boxer_wifi_init: start
Enabling VAUX for wifi
omap-iommu omap-iommu.0: isp registered
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
msgmni has been set to 976
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
OMAP DSS rev 2.0
OMAP RFBI rev 1.0
OMAP DISPC rev 3.0
OMAP DSI rev 1.0
Enabling power for LCD
spi_probe mode : 0, per_word 16, chip_select 0, speed 375000, master_bus 4,master_cs 1
brd: module loaded
loop: module loaded
Linux video capture interface: v2.00
omap-previewer omap-previewer: omap-previewer: Registered preview wrapper
omap3isp omap3isp: Revision 15.0 found
omap-iommu omap-iommu.0: isp: version 1.1
Saving csi2 context
Restoring csi2 context
Saving csi2 context
i2c /dev entries driver
DSP Bridge driver loaded
Driver 'sd' needs updating - please use bus_type methods
android init
android_probe pdata: c04657b8
android_bind
android_bind_config
mass_storage_function_add
fsg_probe pdata: c046620c
android_usb gadget: Number of LUNs=2
adb_function_add
android_usb gadget: android_usb ready
input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-adapter/i2c-1/1-004a/twl4030_keypad/input/input0
input: gpio-keys as /devices/platform/gpio-keys/input/input1
cyttsp_init:Cypress TrueTouch(R) Standard Product
cyttsp_init:I2C Touchscreen Driver (Built Feb 15 2011 @ 21:42:35)
cyttsp_probe:Reseting TMA340
cyttsp_probe:Start Probe 1.2

cyttsp::found BL, Overriding maxx & maxy
cyttsp_initialize:cyttsp-i2c: Register input device
input: cyttsp-i2c as /devices/platform/i2c_omap.2/i2c-adapter/i2c-2/2-0022/input/input2
cyttsp_initialize:cyttsp_initialize: Create sysfs_group successfully!
cyttsp_probe:Start Probe PASS
cyttsp_power_on:BL101: f=00 s=11 err=00 bl=010B bld=010B R=16
cyttsp_power_on:BL102: tver=1100 a_id=AA1D aver=0006
cyttsp_power_on:BL103: c_id=C0C1C2
cyttsp_power_on:BL104: f=04 s=00 err=00 bl=0000 bld=0000
------------[ cut here ]------------
WARNING: at kernel/mutex-debug.c:83 debug_mutex_unlock+0xb4/0x168()
Modules linked in:
[<c0367b04>] (dump_stack+0x0/0x14) from [<c00813c4>] (warn_slowpath+0x68/0x84)
[<c008135c>] (warn_slowpath+0x0/0x84) from [<c00a2798>] (debug_mutex_unlock+0xb4/0x168)
r3:c04bef9c r2:00000000
r6:ffffffff r5:60000013 r4:c0486d78
[<c00a26e4>] (debug_mutex_unlock+0x0/0x168) from [<c0369254>] (__mutex_unlock_slowpath+0xbc/0x12c)
r4:c0486d78 r3:c0486d78
[<c0369198>] (__mutex_unlock_slowpath+0x0/0x12c) from [<c03692d4>] (mutex_unlock+0x10/0x14)
r6:ffffffff r5:df10b298 r4:df10b280 r3:00000000
[<c03692c4>] (mutex_unlock+0x0/0x14) from [<c028dae0>] (cyttsp_update_worker+0x6e0/0x7e0)
[<c028d400>] (cyttsp_update_worker+0x0/0x7e0) from [<c0092720>] (run_workqueue+0xc8/0x18c)
[<c0092658>] (run_workqueue+0x0/0x18c) from [<c0092db0>] (worker_thread+0x10c/0x120)
r7:00000000 r6:df136680 r5:dfb3a8c0 r4:dfb3a8c8
[<c0092ca4>] (worker_thread+0x0/0x120) from [<c009662c>] (kthread+0x50/0x7c)
r6:00000000 r5:dfb3a8c0 r4:c0092ca4
[<c00965dc>] (kthread+0x0/0x7c) from [<c0084510>] (do_exit+0x0/0x7b8)
r5:00000000 r4:00000000
---[ end trace f6609d99b67ff114 ]---
cyttsp_update_worker:Setting up interrupt 259
cyttsp_power_on:SI102: tver=1100 a_id=AA1D aver=0006
cyttsp_power_on:SI103: c_id=C0C1C2
------------[ cut here ]------------
WARNING: at kernel/irq/manage.c:222 __enable_irq+0x3c/0x6c()
Unbalanced enable for IRQ 259
Modules linked in:
[<c0367b04>] (dump_stack+0x0/0x14) from [<c00813c4>] (warn_slowpath+0x68/0x84)
[<c008135c>] (warn_slowpath+0x0/0x84) from [<c00ae844>] (__enable_irq+0x3c/0x6c)
r3:00000103 r2:c0400bb9
r6:c046e20c r5:00000103 r4:c046e20c
[<c00ae808>] (__enable_irq+0x0/0x6c) from [<c00ae8ac>] (enable_irq+0x38/0x64)
r4:a0000013 r3:c046a558
[<c00ae874>] (enable_irq+0x0/0x64) from [<c028cfe0>] (cyttsp_resume+0x674/0x784)
r6:00000000 r5:df10b280 r4:00000000 r3:dfa16c00
[<c028c96c>] (cyttsp_resume+0x0/0x784) from [<c0366344>] (cyttsp_probe+0x598/0x66c)
r7:00000010 r6:00000000 r5:dfa16c00 r4:df10b280
[<c0365dac>] (cyttsp_probe+0x0/0x66c) from [<c024884c>] (i2c_device_probe+0x74/0x8c)
r8:00000001 r7:c0486d14 r6:c0486d14 r5:dfa16c00 r4:dfa16c20
[<c02487d8>] (i2c_device_probe+0x0/0x8c) from [<c020ceec>] (driver_probe_device+0xd0/0x178)
r6:c0486d14 r5:dfa16c20 r4:00000001 r3:c02487d8
[<c020ce1c>] (driver_probe_device+0x0/0x178) from [<c020cffc>] (__driver_attach+0x68/0x8c)
r7:00000000 r6:c0486d14 r5:dfa16ca8 r4:dfa16c20
[<c020cf94>] (__driver_attach+0x0/0x8c) from [<c020c238>] (bus_for_each_dev+0x50/0x80)
r6:00000000 r5:c020cf94 r4:c0486d14 r3:00000000
[<c020c1e8>] (bus_for_each_dev+0x0/0x80) from [<c020cc3c>] (driver_attach+0x20/0x28)
r6:c048558c r5:df15f1c0 r4:c0486d14
[<c020cc1c>] (driver_attach+0x0/0x28) from [<c020c908>] (bus_add_driver+0xa4/0x210)
[<c020c864>] (bus_add_driver+0x0/0x210) from [<c020d430>] (driver_register+0x98/0x11c)
r8:00000001 r7:c028d238 r6:c0486ce8 r5:c048558c r4:c0486d14
[<c020d398>] (driver_register+0x0/0x11c) from [<c0249d48>] (i2c_register_driver+0xa4/0xf4)
[<c0249ca4>] (i2c_register_driver+0x0/0xf4) from [<c028d2c0>] (cyttsp_init+0x88/0xbc)
r6:00000000 r5:c0029a5c r4:00000000 r3:c04c8118
[<c028d238>] (cyttsp_init+0x0/0xbc) from [<c004c44c>] (do_one_initcall+0x64/0x198)
r4:c0029de0
[<c004c3e8>] (do_one_initcall+0x0/0x198) from [<c0008b5c>] (kernel_init+0x80/0xf4)
r8:00000000 r7:00000000 r6:00000000 r5:c0029a5c r4:c0029de0
[<c0008adc>] (kernel_init+0x0/0xf4) from [<c0084510>] (do_exit+0x0/0x7b8)
r5:00000000 r4:00000000
---[ end trace f6609d99b67ff115 ]---
kxtf9 1-000f: WHO_AM_I = 0x01
input: kxtf9_accel as /devices/virtual/input/input3
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
Driver for 1-wire Dallas network protocol.
max17042: max17042_init ...
max17042: max17042_probe ...
max17042: next history save at 4294936891
max17042: max17042_probe > IRQ is 260
max17042 GPIO pin read 1
max17042: max17042_device_power_on ...
max17042: max17042_hw_init ...
max17042: BATTERY Detected!
config = 0x2214
Valert = 0xff9b
Salert = 0xff05
config = 0x2214
config = 0x2214
shdntimer = 0x0002
max17042: max17042_verify ...
max17042 1-0036: Version = 0x0092
max17042 1-0036: support ver. 1.0.0 enabled
MAXIM 8903 Charger registering!
MAXIM 8903 Charger Initializing...
MAXIM8903: Request CHARGER FLT IRQ successfully!
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
MAX8903: Charging is already disabled!
Charger Unplugged!
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
regulator: Unable to get requested regulator: vmmc_aux
regulator: Unable to get requested regulator: vmmc_aux
omap_pwm_led omap_pwm_led: OMAP PWM LED (lcd-backlight) at GP timer 8/0
Registered led device: lcd-backlight
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
ram_console: got buffer at 8e000000, size 20000
ram_console: uncorrectable error in header
ram_console: no valid data in buffer (sig = 0x00000001)
console [ram-1] enabled
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI TLV320dac3100
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
+tlv320dac3100_init
asoc: TLV320dac3100 <-> omap-mcbsp-dai-0 mapping ok
*** Configuring dac3100 registers ***
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 SEM08G 7.39 GiB
mmcblk0: p1 p2 p3 p4 <<1>*** Done Configuring dac3100 registers ***
IRQ 317/dac3100: IRQF_DISABLED is not guaranteed on shared IRQs
p5 p6Page 8 has 61 Coefficient Values
Page 12 has 61 Coefficient Values
p7 p8 >
Updated Page 8 DAC Coefficient Control Reg for Adaptive Mode
Headset removed, but no playback request
-tlv320dac3100_init
ALSA device list:
#0: OMAP3 EDP (dac3100)
oprofile: using timer
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
pm_dbg_init()
SR1:Fused Nvalues for VDD1OPP3 aac9b4
SR1:Fused Nvalues for VDD1OPP2 9a86f1
SR1:Fused Nvalues for VDD1OPP1 99cfba
sr1_opp_margin[1]=37500
sr1_opp_margin[2]=37500
sr1_opp_margin[3]=37500
steps added, volt will berecaliberated automatically
SR2:Fused Nvalues for VDD2OPP1 9011682
SmartReflex driver initialized
Disabling unused clock "gpt2_ick"
Disabling unused clock "uart3_ick"
Disabling unused clock "gpio2_dbck"
Disabling unused clock "gpio3_dbck"
Disabling unused clock "gpio4_dbck"
Disabling unused clock "gpio6_dbck"
Disabling unused clock "gpt2_fck"
Disabling unused clock "uart3_fck"
Disabling unused clock "wdt2_ick"
Disabling unused clock "wdt2_fck"
Disabling unused clock "gpio1_dbck"
Disabling unused clock "i2c_ick"
Disabling unused clock "i2c_fck"
Disabling unused clock "sad2d_ick"
Disabling unused clock "dpll4_m6x2_ck"
Disabling unused clock "dpll4_m5x2_ck"
Disabling unused clock "dpll3_m3x2_ck"
Disabling unused clock "sys_clkout1"
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
Console: switching to colour frame buffer device 128x37
omapdss DPI error: display already enabled
omap_voutDisplay already enabled
omapdss DPI error: display already enabled
omap_voutDisplay already enabled
omap_voutBuffer Size = 1843200
omap_vout: registered and initialized video device 0 [v4l2]
omap_voutBuffer Size = 1843200
omap_vout: registered and initialized video device 1 [v4l2]
omap_voutdisplay->updated
twl4030_rtc twl4030_rtc: setting system clock to 2012-01-16 23:31:28 UTC (1326756688)
Freeing init memory: 272K
init: /init.rc: 283: invalid option 'disable'
init: /init.rc: 293: invalid option 'ioprio'
init: /init.rc: 298: group option accepts at most 6 supp. groups
init: /init.rc: 298: invalid option 'ioprio'
mmc1: host does not support reading read-only switch. assuming write-enable.
mmc1: new SDHC card at address e624
mmcblk1: mmc1:e624 SU08G 7.40 GiB
mmcblk1: p1 p2
init: cannot open '/initlogo.rle'
init: Mount returned errno=19
init: Mount returned errno=19
EXT2-fs warning (device mmcblk1p2): ext2_fill_super: mounting ext3 filesystem as ext2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
init: Mount returned errno=2
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p7, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
SR1.5 is enabled by default instead of class3
SR1.5 is enabled by default instead of class3
omapdss DSI error: Requested pixel clock not possible with the current OMAP2_DSS_MIN_FCK_PER_PCK setting. Turning the constraint off.
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
enabling adb
init: cannot find '/system/bin/vold', disabling 'vold'
adb_open
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/bin/keystore', disabling 'keystore'
init: cannot find '/system/bin/cexec.out', disabling 'baseimage'
init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/xbin/uim', disabling 'uim'
init: cannot find '/system/bin/clrbootcount.sh', disabling 'bootcnt'
TIWLAN: driver init
TIWLAN SDIO init
TIWLAN SDIO probe: initializing mmc3 device
SDIO clock Configuration is now set to 24Mhz
tiwlan0 (): not using net_device_ops yet
boxer_wifi_power: 0
wlanDrvIf_Start
TIWLAN: 2639.881133: pInitParams->RoamingScanning_2_4G_enable 0
boxer_wifi_power: 1
boxer_wifi_power: 0
boxer_wifi_power: 1
TIWLAN: 2639.980346: CHIP VERSION... set 1273 chip top registers
TIWLAN: 2639.987334: Working on a 1273 PG 2.0 board.
TIWLAN: 2639.992553: Starting to process NVS...
TIWLAN: 2639.997191: NVS found, EEPROM Image addr=0xde3bc200, EEPROM Len=0x0x1d4
TIWLAN: 2640.005309: Chip ID is 0x4030111.
TIWLAN: 2640.009917: FEM Type 1
TIWLAN: 2640.013518: Starting to download firmware...
TIWLAN: 2640.116881: Starting to download firmware...
TIWLAN: 2640.145873: Starting to download firmware...
TIWLAN: 2640.151397: Starting to download firmware...
TIWLAN: 2640.164489: Starting to download firmware...
TIWLAN: 2640.173644: Starting to download firmware...
TIWLAN: 2640.180694: Finished downloading firmware.
TIWLAN: 2640.185729: Firmware running.
TIWLAN: 2640.209990:
TIWLAN: 2640.212645: -----------------------------------------------------
TIWLAN: 2640.219817: Driver Version : WiLink_Driver_6.1.0.0.144
TIWLAN: 2640.227019: Firmware Version: Rev 6.1.0.0.335
TIWLAN: 2640.236663: Station ID : 58-67-1A-0C-5F-D1
TIWLAN: 2640.242278: -----------------------------------------------------
TIWLAN: 2640.249358:
TIWLAN: 2640.264953: Interrogate TX/RX parameters
- Data length: 2
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1024
playback: 32 bit wordsize, xsize=1024
playback: 32 bit wordsize, xsize=1024
init: untracked pid 966 exited
playback: 32 bit wordsize, xsize=1024
init: untracked pid 1042 exited
init: untracked pid 1046 exited
init: untracked pid 1051 exited
init: untracked pid 1144 exited
')

The keyboard in use is fvkbd-gtk for those curious.

Edit: Culled from /proc/cmdline:
$this->bbcode_second_pass_code('', 'console=ttyS0,115200n8 androidboot.console=ttyS0 initrd rw init=/init videoout=omap24xxvout omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y omap_vout_mod.video2_numbuffers=6 omap_vout_mod.vid2_static_vrfb_alloc=y omapfb.vram=0:8M no_console_suspend')
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: Nook Color?

Postby GizmoTheGreen » Mon Apr 02, 2012 9:37 pm

seems like nothing ever came of this, shame!

I'd like to get my hands dirty if anyone feels like doing it with me though!
GizmoTheGreen
 
Posts: 1
Joined: Mon Apr 02, 2012 9:34 pm

Re: Nook Color?

Postby Kurlon » Tue Apr 03, 2012 10:38 pm

I haven't had time to monkey lately. I'm hoping with some of the movement to get more android and arm patches moved to mainline there will be some progress.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm


Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 5 guests