Moderator Control Panel ]

tbs2910-Debian Sid from scratch support

tbs2910-Debian Sid from scratch support

Postby l3iggs » Mon May 26, 2014 3:21 pm

Hi Everyone,

I've just completed my weekend project to get my TBS2910 running Debian Sid from scratch.
"From scratch" means I've complied u-boot and the Linux kernel from the latest versions of these projects and I generated the root file system using the debootstrap script.

So that's:
U-Boot 2014.07-rc1-00333-g9665fa8
and
Linux v3.14.4
and
Debian Sid

I'd like to share how I've done it and invite anyone else out there to help me as I add functionality going forward.
I've released the binaries I've compiled here: https://github.com/l3iggs/tbs2910-from- ... ses/latest
And I've written a wiki explaining my compilation process in detail and how I flash u-boot and get the kernel and device tree binary loaded over the network and booting the Debian Sid root file system via a NFS share. https://github.com/l3iggs/tbs2910-from-scratch/wiki

So far, I'm only booting this from my nfs server over my network, but soon I hope to be booting from the eMMC. I'll be working on getting more and more of the board's features working as I spend some time with the kernel configuration. So far, I've only built the kernel with the default, unmodified imx_v6_v7_defconfig kernel configuration file found in the Linux v3.14.4 release and no modifications to any kernel code. So lots of features are missing. I *think* I'm done with u-boot and won't need to add any more features or fix any bugs there. Most of the work going forward will be with getting things working on the latest kernel and I'd be happy to have any help!

All of the development here has been done with Linux. I haven't used the windows MfgTool2.exe flash method that TBS distributes with their releases.
l3iggs
 
Posts: 11
Joined: Sat Apr 05, 2014 9:09 am

Re: tbs2910-from-scratch

Postby l3iggs » Wed May 28, 2014 2:13 pm

I've made a bootable Debian Sid SD card image:

https://github.com/l3iggs/tbs2910-from- ... s/tag/v0.3

You'll likely have to be running my latest version of u-boot.imx to boot from it.
l3iggs
 
Posts: 11
Joined: Sat Apr 05, 2014 9:09 am

Re: tbs2910-from-scratch

Postby l3iggs » Wed May 28, 2014 3:26 pm

I've gotten the GPIO working. So I can turn on the fan and off the blue LED:

As root:
Code: Select All Code
echo 2 > /sys/class/gpio/export
echo 92 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio2/direction
echo "out" > /sys/class/gpio/gpio92/direction
echo 0 > /sys/class/gpio/gpio2/value
echo 1 > /sys/class/gpio/gpio92/value


Read all about it here: https://github.com/l3iggs/tbs2910-from- ... ED-control
l3iggs
 
Posts: 11
Joined: Sat Apr 05, 2014 9:09 am

Re: tbs2910-from-scratch

Postby steven » Fri May 30, 2014 4:59 pm

Hi l3iggs

It is great, really thanks for your support.we will have a try with your image later :)
We will let you topic as top let more people know this image

Thanks

Kind Regards

steven
steven
 
Posts: 2171
Joined: Fri Aug 06, 2010 3:23 pm

Re: tbs2910-Debian Sid from scratch support

Postby updatelee » Fri May 30, 2014 9:03 pm

Im getting a 404 error on the kernel.patch file

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: tbs2910-Debian Sid from scratch support

Postby l3iggs » Sat May 31, 2014 2:12 am

Thanks for pointing that out. I had a typo in the link in my instructions.
Fixed now: https://github.com/l3iggs/tbs2910-from- ... the-kernel
It's actually irrelevant anyway because the kernal patch is empty. It's just there as a place holder in case I need to patch something to get it working in the future.
l3iggs
 
Posts: 11
Joined: Sat Apr 05, 2014 9:09 am

Re: tbs2910-Debian Sid from scratch support

Postby updatelee » Sat May 31, 2014 3:15 am

ah k.

So I assume your not using hdmi video then eh? Or does that kernel branch have the framebuffer ported over ? Im trying to look at the src but its in an odd git format.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: tbs2910-Debian Sid from scratch support

Postby l3iggs » Sat May 31, 2014 5:56 am

HDMI is working
I've tried to keep track of the things that work/don't work in my readme:
https://github.com/l3iggs/tbs2910-from- ... /README.md
l3iggs
 
Posts: 11
Joined: Sat Apr 05, 2014 9:09 am

Re: tbs2910-Debian Sid from scratch support

Postby updatelee » Sat May 31, 2014 6:16 am

ah perfect, thanks

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: tbs2910-Debian Sid from scratch support

Postby funkyberlin » Sat Oct 18, 2014 2:37 am

Hi l3iggs,

i used your instructions on https://github.com/l3iggs/tbs2910-from-scratch/wiki but now i'm stuck.
When i flashed the new u_boot from your site, but i doesnt work. Can you please help me.

The command
run update_uboot
doesnt work. i got these outputs:
Code: Select All Code

U-Boot 2014.07-rc1-15746-g3a56482-dirty (May 30 2014 - 23:27:56)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
auto-detected panel HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Can't find PMIC:PFUZE100_PMIC
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=> run update_uboot
## Error: "update_uboot" not defined


the flashing got these results:
Code: Select All Code
sudo imx_usb --configdir=/usr/etc/imx-loader.d/ u-boot.imx
config file </usr/etc/imx-loader.d/imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
config file </usr/etc/imx-loader.d/mx6_usb_work.conf>
parse /usr/etc/imx-loader.d/mx6_usb_work.conf
15a2:0054(mx6_qsb) bConfigurationValue =1
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 2
jump_addr 0x00000000
== end work item
main dcd length 330
sub dcd length 32c

loading binary file(u-boot.imx) to 177ff400, skip=0, fsize=55c00 type=aa

<<<351232, 351232 bytes>>>
succeeded (status 0x88888888)
jumping to 0x177ff400


best regards,

christian
funkyberlin
 
Posts: 1
Joined: Wed Oct 08, 2014 5:46 am

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest