Welcome! Log In Create A New Profile

Advanced

Debian on HP T5325 Thin Client

Posted by Gravelrash 
Re: HP T5325 Thin Client Debian
March 10, 2016 05:39PM
Leggo,

http://forum.doozan.com/read.php?2,25473,26166#msg-26166

To keep it simple I specified the embedded DTB approach. But as usual we should use separate DTB. I will modify u-boot thread to include that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 10, 2016 05:41PM
Leggo,

I sent you PM on a different topic :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 10, 2016 06:04PM
Houston, we have a problem:

The box I have has not booted to the HP OS since I received it - I think somebody borked it experimenting.

However, with serial console I was able to boot using the stock u-boot into your 4.4 Debian rootfs.

I successfully flashed the new uboot to mtd0. However, it appears I have no mtd2 to flash the env to:

root@debian:~# flashcp -v uboot.2014.07-tld-3.environment.64K.img  /dev/mtd2
While trying to open /dev/mtd2 for read/write access: No such file or directory
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00001000 "spi0.0"
root@debian:~#

I installed mtd-utils to have flashcp on the 4.4 rootfs. What instruction do I use to create mtd2 so I can flash to it?



Edited 1 time(s). Last edit at 03/10/2016 06:11PM by LeggoMyEggo.
Re: HP T5325 Thin Client Debian
March 10, 2016 06:16PM
Leggo,

You are supposed to follow the instrction in the u-boot thread :)


Quote

2. Verify the Debian rootfs envs set up. Modify or add the fw_env.config file with the content below.

3. Verify the MTD flash definition in the current running system. Note the mtd0 and mtd2 definition, they must be identical to your current mtd0 and mtd2. Refer to the working thread for instruction if your MTD flash definition is not as shown below.

Since you have not set up MTDs in the kernel bootargs (this thread has gotten too long to go through, can't blame you), here in the u-boot instruction:

Quote

6. Reference your saved current_envs.txt in step 1 and restore box specific info in u-boot envs.

a. Modify envs (replace xx below with your box specific settings)

fw_setenv arcNumber '2846'
fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
fw_setenv ipaddr 'xxx.xxx.x.xx'
fw_setenv serverip 'xxx.xxx.0.xxx'
fw_setenv devices 'usb ide'


b. Remove envs (dtb_file is removed with assumption that your rootfs has the T5325 DTB embedded inside uImage).

fw_setenv dtb_file
fw_setenv mtdids
fw_setenv partition
fw_setenv machid


So, reboot, interrupt serial console and set it up before boot:
setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)'

---------
Update:

BTW, if you had booted into the stock OS then the MTDs are already this way.

You can go ahead reboot since you know u-boot image was flashed OK. And the uboot internal default envs are good enough for booting into Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 3 time(s). Last edit at 03/10/2016 06:28PM by bodhi.
Re: HP T5325 Thin Client Debian
March 10, 2016 06:23PM
I don't have an mtd2. Like I said, this box was messed up by the previous owner and hence why it was so cheap :)

Can I create a mtd2 partition from the command line in Debian or do I have to do it from serial console? Either way, how do I do create the new partition?
Re: HP T5325 Thin Client Debian
March 10, 2016 06:29PM
LeggoMyEggo Wrote:
-------------------------------------------------------
> I don't have an mtd2. Like I said, this box was
> messed up by the previous owner and hence why it
> was so cheap :)
>
> Can I create a mtd2 partition from the command
> line in Debian or do I have to do it from serial
> console? Either way, how do I do create the new
> partition?

:)) mine too. I could not boot into stock OS.

See above. You have to do it in serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/10/2016 06:30PM by bodhi.
Re: HP T5325 Thin Client Debian
March 10, 2016 06:41PM
Think the new env's might need adjustment:

Hit any key to stop autoboot:  0
T5325> printenv
arcNumber=2097
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run l                                                                                                             oad_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000;                                                                                                              fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000;                                                                                                              fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dt                                                                                                             b_file
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/                                                                                                             uInitrd
load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uI                                                                                                             mage
machid=0x831
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";                                                                                                               setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices                                                                                                             ; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for di                                                                                                             sknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1;                                                                                                              if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Foun                                                                                                             d bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev                                                                                                             ; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10                                                                                                              $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se                                                                                                             tenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  se                                                                                                             tenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;                                                                                                               do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknu                                                                                                             m:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_re                                                                                                             ad;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2682/65532 bytes
Re: HP T5325 Thin Client Debian
March 10, 2016 07:14PM
LeggoMyEggo Wrote:
-------------------------------------------------------
> Think the new env's might need adjustment:
>
>
> Hit any key to stop autoboot:  0
> T5325> printenv
> arcNumber=2097
> bootcmd=run bootcmd_uenv; run scan_disk; run
> set_bootargs; run bootcmd_exec
> bootcmd_exec=mw 0x800000 0 1; run load_uimage; if
> run load_initrd; then if run l                    
>                                                   
>                                      oad_dtb; then
> bootm 0x800000 0x1100000 0x1c00000; else bootm
> 0x800000 0x1100000;                               
>                                                   
>                            fi; else if run
> load_dtb; then bootm 0x800000 - 0x1c00000; else
> bootm 0x800000;                                   
>                                                   
>                        fi; fi
> bootcmd_uenv=run uenv_load; if test $uenv_loaded
> -eq 1; then run uenv_import; fi
> bootdelay=10
> bootdev=usb
> device=0:1
> devices=usb ide mmc
> disks=0 1 2 3
> dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
> ethact=egiga0
> ethaddr=52:3b:20:9c:11:51
> if_netconsole=ping $serverip
> ipaddr=192.168.0.231
> led_error=orange blinking
> led_exit=green off
> led_init=green blinking
> load_dtb=echo loading DTB $dtb_file ...; ext2load
> $bootdev $device 0x1c00000 $dt                    
>                                                   
>                                      b_file
> load_initrd=echo loading uInitrd ...; ext2load
> $bootdev $device 0x1100000 /boot/                 
>                                                   
>                                         uInitrd
> load_uimage=echo loading uImage ...; ext2load
> $bootdev $device 0x800000 /boot/uI                
>                                                   
>                                          mage
> machid=0x831
> mainlineLinux=yes
> mtdids=nand0=orion_nand
> mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)
> ,32M(rootfs),-(data)
> partition=nand0,2
> preboot_nc=run if_netconsole start_netconsole
> scan_disk=echo running scan_disk ...; scan_done=0;
> setenv scan_usb "usb start";                      
>                                                   
>                                      setenv
> scan_ide "ide reset";  setenv scan_mmc "mmc
> rescan"; for dev in $devices                      
>                                                   
>                                    ; do if test
> $scan_done -eq 0; then echo Scan device $dev; run
> scan_$dev; for di                                 
>                                                   
>                         sknum in $disks; do if
> test $scan_done -eq 0; then echo device $dev
> $disknum:1;                                       
>                                                   
>                    if ext2load $dev $disknum:1
> 0x800000 /boot/uImage 1; then scan_done=1; echo
> Foun                                              
>                                                   
>            d bootable drive on $dev $disknum;
> setenv device $disknum:1; setenv bootdev $dev     
>                                                   
>                                                   
>  ; fi; fi; done; fi; done
> serverip=192.168.0.220
> set_bootargs=setenv bootargs console=ttyS0,115200
> root=LABEL=rootfs rootdelay=10                    
>                                                   
>                                       $mtdparts
> $custom_params
> start_netconsole=setenv ncip $serverip; setenv
> bootdelay 10; setenv stdin nc; se                 
>                                                   
>                                         tenv
> stdout nc; setenv stderr nc; version;
> stderr=serial
> stdin=serial
> stdout=serial
> uenv_import=echo importing envs ...; env import -t
> 0x810000
> uenv_init_devices=setenv init_usb "usb start"; 
> setenv init_ide "ide reset";  se                  
>                                                   
>                                        tenv
> init_mmc "mmc rescan"; for devtype in $devices; do
> run init_$devtype; done;
> uenv_load=run uenv_init_devices; setenv
> uenv_loaded 0; for devtype in $devices;           
>                                                   
>                                                 do
> for disknum in 0; do run uenv_read_disk; done;
> done;
> uenv_read=echo loading envs from $devtype $disknum
> ...; if load $devtype $disknu                     
>                                                   
>                                     m:1 0x810000
> /boot/uEnv.txt; then setenv uenv_loaded 1; fi
> uenv_read_disk=if test $devtype -eq mmc; then if
> $devtype part; then run uenv_re                   
>                                                   
>                                       ad;  fi;
> else if $devtype part $disknum; then run
> uenv_read; fi;  fi
> usb_ready_retry=15
> 
> Environment size: 2682/65532 bytes
>

See step 6.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 10, 2016 07:38PM
bodhi Wrote:

> See step 6.

Didn't matter, the new env's were trying to boot dtb for the E02 because it was loaded by the new env's. Once I revised the rootfs USB disk on another Debian box to boot with separate DTB then updated the env's to dtb_file=/boot/dts/kirkwood-t5325.dtb, it booted fine and did not throw a kernel panic.



Edited 1 time(s). Last edit at 03/10/2016 07:40PM by LeggoMyEggo.
Re: HP T5325 Thin Client Debian
March 10, 2016 08:15PM
Catching breath tonight after success with this thing, let me say thanks bodhi for your effort. You've brought a new life to these T5325 boxes. GOOD JOB!

Rest on your laurels for a little while :)







After you've rested and been fed your grapes (LOL) any idea how to enable the VGA display?
Re: HP T5325 Thin Client Debian
March 10, 2016 10:09PM
> any idea how to enable the VGA display?

No idea, I don't have any VGA display to try. I'm relying on you guys to test this! have you plugged one in?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 10, 2016 10:52PM
bodhi Wrote:
-------------------------------------------------------
> > any idea how to enable the VGA display?
>
> No idea, I don't have any VGA display to try. I'm
> relying on you guys to test this! have you plugged
> one in?

Yes tried but nothing displayed. Thought I would get at least command line but nothing.
CV
Re: HP T5325 Thin Client Debian
March 11, 2016 01:35AM
@Bodhi: Thank you! Just flashed new uboot - everything perfect!!!!


But...
if even HP managed to ASCII art its logo , you could also have been a bit less prosaic...

a measly
U-Boot 2015.10-tld-2 (Mar 09 2016 - 16:49:35 -0800)
HP Thin Client T5325"

JUST won't cut it ... :
 ____ ___         __________               __    ___________.________________  ________   .________
|    |   \        \______   \ ____   _____/  |_  \__    ___/|   ____/\_____  \ \_____  \  |   ____/
|    |   /  ______ |    |  _//  _ \ /  _ \   __\   |    |   |____  \   _(__  <  /  ____/  |____  \ 
|    |  /  /_____/ |    |   (  <_> |  <_> )  |     |    |   /       \ /       \/       \  /       \
|______/           |______  /\____/ \____/|__|     |____|  /______  //______  /\_______ \/______  /
                          \/                                      \/        \/         \/       \/ 
___.           __________           .___.__    .__                                                 
\_ |__ ___.__. \______   \ ____   __| _/|  |__ |__|                                                
 | __ <   |  |  |    |  _//  _ \ / __ | |  |  \|  |                                                
 | \_\ \___  |  |    |   (  <_> ) /_/ | |   Y  \  |                                                
 |___  / ____|  |______  /\____/\____ | |___|  /__|                                                
     \/\/              \/            \/      \/         
...finest uboots since <add date of your first uboot>

Anybody supporting my opinion ?


EDIT: I mean, you could drive this even further, allow us to include custom uboot greeting messages!

How cool would this be, imagine telling your friends:
hey, look at my modded thinclient - ok, it don't have a touchscreen or a screen at all atmo, but it spits out a cool boot message on a serial header that is usually not connected and you can only see it on a text screen of another computer, but its there!
Geek factor going through the roof!
Probable only comparable to the moment when you showed people that you can telnet into your jailbroken iPhone or Androod and make a call!

;-))



Edited 2 time(s). Last edit at 03/11/2016 01:47AM by CV.
Re: HP T5325 Thin Client Debian
March 11, 2016 01:53AM
CV,

It's not hard to do :) the logo is just a bunch of printfs in the main() function.

> How cool would this be, imagine telling your
> friends:
> hey, look at my modded thinclient - ok, it don't
> have a touchscreen or a screen at all atmo, but it
> spits out a cool boot message on a serial header
> that is usually not connected and you can only see
> it on a text screen of another computer, but its
> there!
> Geek factor going through the roof!
> Probable only comparable to the moment when you
> showed people that you can telnet into your
> jailbroken iPhone or Androod and make a call!
>

Then you're going to like this:
http://forum.doozan.com/read.php?2,12096,15906#msg-15906

Modify it to make our own Debian logo! In linux_logo, there are all types of logos for Linux distrbution. There is a GitHub for source code.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/11/2016 05:29AM by bodhi.
Re: HP T5325 Thin Client Debian
March 11, 2016 02:54AM
LeggoMyEggo,

> Yes tried but nothing displayed. Thought I would
> get at least command line but nothing.

Have you tried this bootarg?

Stock:
thinpro_bootargs=root=/dev/sda1 rw init=/init video=xgifb splash quiet

Add to to your Linux bootargs:
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts video=xgifb splash quiet

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 11, 2016 03:27AM
@Gravelrash,

> as an aside to the abov - did you both manage to
> get the HP disk working? I have just reflashed
> another 3 i have laid my hands on with it..

I've decided that I'm going to forget about restoring it. I'm suppose you will keep at least one with stock OS in NAND, that way we'll have a way to look for the known unknowns :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 11, 2016 03:53AM
bodhi Wrote:
-------------------------------------------------------
> I'm suppose you will keep at least
> one with stock OS in NAND, that way we'll have a
> way to look for the known unknowns :)

@bodhi
i had the same idea mulling around my head, yes i will keep one totally stock so we can look at stuff.

@Leggo
as to the display outputs, i have just mashed one of my other boxes with the standard debian install from the debian site, so i should be able to feedback some information to others on here who are looking at ways to initialise the vga output..

so far from x i have learned that we need the staitc linked .so module that comes with the xgi driver package ether from wheezy or self compiled to load x and a halfway decent xorg config, not output to screen as yet. still working on it

@CV
add me to your vote count!



Edited 1 time(s). Last edit at 03/11/2016 03:55AM by Gravelrash.
CV
Re: HP T5325 Thin Client Debian
March 11, 2016 04:57AM
>> so far from x i have learned that we need the staitc linked .so module that comes with the xgi driver package ether from wheezy or self compiled to load x and a halfway decent xorg config, not output to screen as yet. still working on it

I am also trying, what I can say so far that it does in effect output a VGA signal,
my monitor tells me 640x480 60Hz.

And this signal comes active when dmesg says module xgifb is loaded:
[   20.817451] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030]
[   20.891874] xgifb 0000:01:00.0: enabling device (0140 -> 0143)
[   20.954063] xgifb 0000:01:00.0: chipid = 32
[   20.991591] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1
[   21.028181] asoc-simple-card sound: alc5621-hifi <-> spdif mapping ok
[   21.036167] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k
[   21.096780] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0e80000, size 256k
[   21.216833] xgifb 0000:01:00.0: No or unknown bridge type detected
[   21.223070] xgifb: Default mode is 800x600x16 (60Hz)
done.

But as I said, it's 640x480 60Hz, not 800x600.

I tested:
root@debian:~
# rmmod xgifb
root@debian:~
# modprobe xgifb
[  691.600511] xgifb: module is from the staging directory, the quality is unknown, you have been warned.
[  691.612620] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030]
[  691.619503] xgifb 0000:01:00.0: chipid = 32
[  691.623809] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1
[  691.629463] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k
[  691.638282] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0a00000, size 256k
[  691.685960] xgifb 0000:01:00.0: No or unknown bridge type detected
[  691.692173] xgifb: Default mode is 800x600x16 (60Hz)
root@debian:~
#

When I remove and reload the module I see a short flicker on screen.
Re: HP T5325 Thin Client Debian
March 11, 2016 05:18AM
Have a look at the Display thread for information as i find it, if you could cross post there as well that would be excellent attached to that thread is a known working xorg.conf file

http://forum.doozan.com/read.php?9,26555,26583#msg-26583
Re: HP T5325 Thin Client Debian
March 11, 2016 05:30AM
@ Gravelrash:

I just flashed your backup firmware. It keeps setting the GotoWoL status to "on", so the dumb thing keeps rebooting into WoL aka "ninja mode" even if you power off from the GUI.

I think that there is some wrong setting in the firmware, but without admin access I can't go further. What's the admin password of your backup? (I'll keep the secret, I promise) :)

Also, this now stops me from kwbooting on this box... :/

Hell, I have issues even in getting into uboot setup again.

EDIT: Found it.

there is a

WOLEnabled=Yes

in HPE envs.

It must be changed to

WOLEnabled=No

by writing

setenvh WOLEnabled No

(setenvh is the setenv supposed to write to HP envs, check the help of the stock uboot)

Now it does not go in ninja-stealth mode anymore on shutdown from GUI, and I can try kwbooting again.



Edited 2 time(s). Last edit at 03/11/2016 05:47AM by bobafetthotmail.
CV
Re: HP T5325 Thin Client Debian
March 11, 2016 05:37AM
I just installed my second box which is still on stock uboot and linux.

# dmesg | grep -i xgi
[    0.000000] Kernel command line: root=/dev/sda1 rw init=/init video=xgifb splash quiet
[    0.920000] XGIfb: Options <NULL>
[    0.920000] XGIfb: Relocate IO address: 1000 [00001030] 
[    0.920000] XGIfb: Enable PCI device
[    0.920000] XGIfb: SR14=41 DramSzie 1000000 ChannelNum 1
[    0.920000] XGIfb: Framebuffer at 0xe8000000, mapped to 0xe1000000, size 16384k
[    0.920000] XGIfb: MMIO at 0xec000000, mapped to 0xe0880000, size 256k
[    0.920000] XGIfb: XGIInitNew() ...OK
[    0.920000] XGIfb: Memory heap starting at 8192K
[    0.920000] XGIfb: Default mode is 1024x768x16 (60Hz)
[    0.920000] XGIfb: Change mode to 1024x768x16-60Hz
[    1.020000] XGIfb: Installed XGIFB_GET_INFO ioctl (80046ef8)
[   42.510000] XGIfb: Change mode to 1024x768x16-60Hz

# cat /etc/X11/xorg.conf
Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Option          "XLeds" "1 2 3"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option "XkbModel"       "evdev"
        Option "XkbLayout"      "de"
        Option "XkbVariant"     "wincompat"
        Option "XkbOptions"     "srvrkeys:none"
        Driver          "evdev" 
        Option          "Device"        "/dev/input/evdev-kbd" 
EndSection
Section "Monitor"
        Identifier      "Primary Monitor"
        Option          "DPMS"  "true"
        HorizSync       1-10000
        VertRefresh     1-10000
        Option          "NonDDCDefaultMode"             "1024x768@60"
EndSection
Section "Device"
        Identifier      "Driver0"
        Screen          0
        Driver          "xgi"    
        BusID           "PCI:00:01:0" 
        Option          "AccelMethod"   "XAA" 
        Option          "UseFBDev"      "true" 
EndSection
Section "Screen"
        Device          "Driver0"
        Monitor         "Primary Monitor"
        Identifier      "Primary Screen"
        DefaultDepth    24
        SubSection      "Display"
                Viewport        0 0
        EndSubSection
EndSection
Section "ServerLayout"
        Identifier      "Default Layout"
        InputDevice     "Generic Keyboard"
        Screen          0 "Primary Screen" 0 0
EndSection
Section "DRI"
        Mode    0666
EndSection
Section "ServerFlags"
        Option "DontVTSwitch" "true"
        Option "DontZap" "true"
        Option "DontZoom" "true"
EndSection

#lsmod
Module                  Size  Used by
ipv6                  319156  12 
tsdev                   9056  0 
evdev                  10720  6 
usbhid                 45844  0 
ff_memless              6760  1 usbhid
unix                   32240  268

So here framebuffer is not a module but compiled into kernel.

PS: I'm posting here actually from the t5325, so if you want me to test or provide something, just tell me.


EDIT: sorry, didn't notice there is another thread especially for T5325 VGA already, I will use the other one from now on.
I've also seen that Bodhi already yesterday had posted what I have just now... too fast for me!



Edited 1 time(s). Last edit at 03/11/2016 05:46AM by CV.
Re: HP T5325 Thin Client Debian
March 11, 2016 05:46AM
bobafetthotmail

> Also, this now stops me from kwbooting on this
> box... :/

Try power off first (unplug the power cord). Start kwboot and then turn on power.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
March 11, 2016 05:54AM
theres no secret to the password, its the default one from when the system is first built

user : root
password : root


to enable admin privilieges, select the option from the bottom lower left of the screen

it looks like your experience of the WOL and kwboot issue is the same as mine with the same firmware that came with my unit... maybe its not my TTL adaptor after all ?!?!

bobafetthotmail Wrote:
-------------------------------------------------------
> @ Gravelrash:
>
> I just flashed your backup firmware. It keeps
> setting the GotoWoL status to "on", so the dumb
> thing keeps rebooting into WoL aka "ninja mode"
> even if you power off from the GUI.
>
> I think that there is some wrong setting in the
> firmware, but without admin access I can't go
> further. What's the admin password of your backup?
> (I'll keep the secret, I promise) :)
>
> Also, this now stops me from kwbooting on this
> box... :/
>
> Hell, I have issues even in getting into uboot
> setup again.
Re: HP T5325 Thin Client Debian
March 11, 2016 05:57AM
CV Wrote:
> So here framebuffer is not a module but compiled
> into kernel.

> PS: I'm posting here actually from the t5325, so
> if you want me to test or provide something, just
> tell me.
>

Im nowhere near the level of "Mr Bodhi",

Im a tinkerer with a desktop/server background, so im digging into my past memories of configuring X in 1999 to see where i can go with this one.
Re: HP T5325 Thin Client Debian
March 11, 2016 06:05AM
>Try power off first (unplug the power cord). Start kwboot and then turn on power.

It does not work. The u-boot ninja mode is interfering.

Fixed by changing an HP env to disable that WOL ninja crap, see the edit.

Now I can kwboot fine, and the first thing I'm going to do is nuke the current u-boot as it has already annoyed me A LOT.
Re: HP T5325 Thin Client Debian
March 11, 2016 07:03AM
Quick question for bodhi, will the kirkwood-t5325.dtb file work to boot with earlier, non-Jessie, rootfs'? I ask because I am trying to modify an existing 4.1 wheezy flash drive that has everything I need already loaded and I would like to use the T5325 for those functions.
Re: HP T5325 Thin Client Debian
March 11, 2016 07:08AM
from what i understand of .dtb files the answer should be yes as long as you have the respective kernel etc preppared.
Re: HP T5325 Thin Client Debian
March 11, 2016 07:53AM
@all

when everyone is happy that the uboot and rootfs works, we can focus on the following if you are interested?

VGA adaptor settings
already in progress and CV seems to be ahead of the game on this one.

Sound
should already be there with the ALSA settings, but like all things HP usually some tweaking is necessary

WIFI
Should be a no brainer as its been covered many times before

Bluetooth
because everything is better with Bluetooth and its been covered before on other units


Thoughts and comments?

and speaking for myself, i have recently placed an order for a 7" screen on aliexpress so i can mate it to this unit and play doom etc. :)



Edited 1 time(s). Last edit at 03/11/2016 07:54AM by Gravelrash.
Re: HP T5325 Thin Client Debian
March 11, 2016 08:10AM
Gravelrash Wrote:
-------------------------------------------------------
> WIFI
> Should be a no brainer as its been covered many
> times before
>
> Bluetooth
> because everything is better with Bluetooth and
> its been covered before on other units

On my T5325 these worked without issue using the standard means to enable a USB device of these types.
Re: HP T5325 Thin Client Debian
March 11, 2016 08:54AM
LeggoMyEggo Wrote:
-------------------------------------------------------
> Gravelrash Wrote:
> --------------------------------------------------
> -----
> > WIFI
> > Should be a no brainer as its been covered many
> > times before
> >
> > Bluetooth
> > because everything is better with Bluetooth and
> > its been covered before on other units
>
> On my T5325 these worked without issue using the
> standard means to enable a USB device of these
> types.

EXcellent so we are just left with the config files for ALSA / pulseaudio

and

VGA console output
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: