Nitrogen6X with 1024x600 Screen

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Nitrogen6X with 1024x600 Screen

Postby prophaner » Wed Nov 07, 2012 3:02 pm

I'm trying to install ArchLinuxARM in the Nitrogen6X from http://boundarydevices.com/ with Eric's help (one of their developers), but I've got to a stage which I can't figure it out. At the beggining the issue was that the OS didn't want to boot up. Eric fixed the 6q_bootscript file as attached. And now the OS boots up with some errors (see below). When booting up I can see 4 Penguins and then it goes black again. Another cool fact is that Eric told me to put 3 commands and it showed the output "Hello, World" in the screen:

# echo 0 > /sys/class/graphics/fb0/blank
# dd < /dev/urandom > /dev/fb0
# echo "Hello, World" > /dev/tty0.

Thanks in advance for your help.
$this->bbcode_second_pass_code('', '
U-Boot 2009.08 (Jul 05 2012 - 15:37:27)

CPU: Freescale i.MX 6 family 0.0V at 792 MHz
Temperature: can't get valid data!
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 29333333Hz
ddr clock : 528000000Hz
usdhc1 clock : 200000000Hz
usdhc2 clock : 200000000Hz
usdhc3 clock : 200000000Hz
usdhc4 clock : 200000000Hz
nfc clock : 24000000Hz
Board: MX6Q-SABRELITE:[ POR]
Boot Device: I2C
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1
JEDEC ID: 0xbf:0x25:0x41
Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x276009b8
SUCCESS

In: serial
Out: serial
Err: serial
Net: got MAC address from IIM: 00:19:b8:00:fa:a8
FEC0 [PRIME]
Warning: FEC0 MAC addresses don't match:
Address in SROM is 00:19:b8:00:fa:a8
Address in environment is 00:01:02:03:04:05

Hit any key to stop autoboot: 0
mmc0 is current device
reading /6q_bootscript

** Unable to read "/6q_bootscript" from mmc 0:1 **
Loading file "/6q_bootscript" from mmc device 0:1 (xxa1)
375 bytes read
## Executing script at 10008000
Loading file "/boot/uImage" from mmc device 0:1 (xxa1)
3717368 bytes read
## Booting kernel from Legacy Image at 10800000 ...
Image Name: Linux-3.0.15-1-ARCH+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3717304 Bytes = 3.5 MB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.563305] ------------ Board type Nitrogen6X/W
[ 0.578454] machine_constraints_voltage: VDDD: unsupportable voltage constraints
[ 0.585939] reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
[ 1.258621] _regulator_get: get() with no identifier
[ 1.370561] mxc_sdc_fb mxc_sdc_fb.3: ipu1-di1 already in use
[ 2.012380] Can't recover from RESET HBA!
[ 2.952178] tsc2004_prepare_for_reading: write_cmd -5
[ 2.957484] egalax_ts 2-0004: egalax_ts: failed to read firmware version
[ 2.968133] mmc0: Unknown controller version (3). You may experience problems.
[ 2.976549] mmc1: Unknown controller version (3). You may experience problems.
[ 2.993514] sgtl5000 0-000a: Failed to get supply 'VDDD': -19
INIT: version 2.88 booting

> Arch Linux ARM

> http://archlinuxarm.org/

------------------------------
:: Mounting root read-only [DONE]
:: Adjusting system time and setting kernel time zone [DONE]
:: Starting udev daemon [DONE]
:: Triggering udev uevents [DONE]
:: Loading user-specified modules [DONE]
:: Waiting for udev uevents to be processed [BUSY] [ 16.995014] mxc_sdc_fb mxc_sdc_fb.1: Unable to allocate framebuffer memory
[ 17.002109] mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var.
[ 17.040895] mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory
[ 17.047811] mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var.
[DONE]
:: Configuring virtual consoles [DONE]
:: Bringing up loopback interface [DONE]
:: Checking filesystems [DONE]
:: Remounting root and API filesystems [DONE]
:: Mounting local filesystems [DONE]
:: Activating swap [DONE]
:: Configuring time zone [BUSY] error: `America/Chicago' is not a valid time zone
[FAIL]
:: Initializing random seed [DONE]
:: Removing leftover files [DONE]
NIT: Entering runlevel: 3m [DONE]
:: Starting Syslog-NG [DONE]
:: Starting network [DONE]
:: Mounting network filesystems [DONE]
:: Starting crond daemon [DONE]
:: Starting Secure Shell Daemon [DONE]

Arch Linux 3.0.15-1-ARCH+ (ttymxc1)

alarm login:
')
prophaner
 
Posts: 8
Joined: Wed Nov 07, 2012 2:47 pm
Location: Miami, Florida, USA

Re: Nitrogen6X with 1024x600 Screen

Postby WarheadsSE » Wed Nov 07, 2012 4:14 pm

Well the good news is: you have Arch Linux ARM installed. You're just having issues with the framebuffer driver & display configuration. We'll be updating that kernel to the most recent 3.0.35_GA soon.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Nitrogen6X with 1024x600 Screen

Postby prophaner » Wed Nov 07, 2012 4:17 pm

That's good news, is there any quick fix I can do today?
prophaner
 
Posts: 8
Joined: Wed Nov 07, 2012 2:47 pm
Location: Miami, Florida, USA

Re: Nitrogen6X with 1024x600 Screen

Postby WarheadsSE » Wed Nov 07, 2012 4:20 pm

I can't see your 6q_bootscript, but my immediate guess is that something is wonk in your boot-time video configuration.

edit:
$this->bbcode_second_pass_code('', '[ 1.370561] mxc_sdc_fb mxc_sdc_fb.3: ipu1-di1 already in use
mxc_sdc_fb mxc_sdc_fb.1: Unable to allocate framebuffer memory
[ 17.002109] mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var.
[ 17.040895] mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory
[ 17.047811] mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var.')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Nitrogen6X with 1024x600 Screen

Postby prophaner » Wed Nov 07, 2012 4:24 pm

this is basically the 6q_bootscript, if you want/need the file i can email it to you. I actually uploaded it in the post.


$this->bbcode_second_pass_code('', 'bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 ;
setenv bootargs $bootargs video=mxcfb0:dev=ldb,1024x600M@60,if=RGB666 video=mxcfb1:off fbmem=10M
${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image"
')
Last edited by prophaner on Wed Nov 07, 2012 4:28 pm, edited 1 time in total.
prophaner
 
Posts: 8
Joined: Wed Nov 07, 2012 2:47 pm
Location: Miami, Florida, USA

Re: Nitrogen6X with 1024x600 Screen

Postby WarheadsSE » Wed Nov 07, 2012 4:27 pm

I don't have any hardware to attach to the LVDS port, so I can't physically troubleshoot.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Nitrogen6X with 1024x600 Screen

Postby prophaner » Wed Nov 07, 2012 7:03 pm

.$this->bbcode_second_pass_quote('WarheadsSE', 'W')ell the good news is: you have Arch Linux ARM installed. You're just having issues with the framebuffer driver & display configuration. We'll be updating that kernel to the most recent 3.0.35_GA soon.


1- What Kernel version am I using right now (I downloaded the tarball yesterday from http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz)
2- When should I be expecting this Kernel Update: 3.0.35_GA ?
3- How will I know is there?
4- How to download it?

I really appreciate your feedback since is a time sensitive matter
prophaner
 
Posts: 8
Joined: Wed Nov 07, 2012 2:47 pm
Location: Miami, Florida, USA

Re: Nitrogen6X with 1024x600 Screen

Postby WarheadsSE » Wed Nov 07, 2012 9:05 pm

We'll get it packaged up as soon as we get impetus to update one of our boards. You will know it is there by checking for updates.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 3 guests