Download Pyra Debian OS (WIP)


Sorry, no success.

It load kernel, but switch to "mmc 1" and i have no partition on emmc.

Pyra Boot Menu
1: Debian GNU/Linux, kernel 4.6.0-letux-pyra+
2: Debian GNU/Linux, kernel 4.6.0-letux-pyra+ (recovery mode)
Enter choice: 1
1: Debian GNU/Linux, kernel 4.6.0-letux-pyra+
Retrieving file: /boot/initrd.img-4.6.0-letux-pyra+
3546625 bytes read in 187 ms (18.1 MiB/s)
Retrieving file: /boot/vmlinuz-4.6.0-letux-pyra+
4542928 bytes read in 236 ms (18.4 MiB/s)
append: root=UUID=5528e5e7-ca00-4beb-9809-8a69369bd2b9 console=ttyO2,115200n8 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 vram=12M omapfb.vram=0:8M,1:4M omapdss.def_disp=hdmi
Retrieving file: /usr/lib/linux-image-4.6.0-letux-pyra+/omap5-pyra.dtb
** File not found /usr/lib/linux-image-4.6.0-letux-pyra+/omap5-pyra.dtb **
Skipping l0 for failure retrieving fdt
2: Debian GNU/Linux, kernel 4.6.0-letux-pyra+ (recovery mode)
Retrieving file: /boot/initrd.img-4.6.0-letux-pyra+
3546625 bytes read in 188 ms (18 MiB/s)
Retrieving file: /boot/vmlinuz-4.6.0-letux-pyra+
4542928 bytes read in 235 ms (18.4 MiB/s)
append: root=UUID=5528e5e7-ca00-4beb-9809-8a69369bd2b9 console=ttyO2,115200n8 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 vram=12M omapfb.vram=0:8M,1:4M omapdss.def_disp=hdmi single
Retrieving file: /usr/lib/linux-image-4.6.0-letux-pyra+/omap5-pyra.dtb
** File not found /usr/lib/linux-image-4.6.0-letux-pyra+/omap5-pyra.dtb **
Skipping l0r for failure retrieving fdt
SCRIPT FAILED: continuing...
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 1 Ethernet Device(s) found

USB device 0: unknown device
scanning bus for devices...
Found 0 device(s).

SCSI device 0:
Device 0: not available
switch to partitions #0, OK
mmc1(part 0) is current device
** No partition table - mmc 1 **
Waiting for Ethernet connection... done.
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address 192.168.0.93 (1462 ms)
Using sms0 device
TFTP from server 0.0.0.0; our IP address is 192.168.0.93; sending through gateway 192.168.0.1
Filename 'boot.scr.uimg'.
Load address: 0x90000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Waiting for Ethernet connection... done.
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.0.93 (1211 ms)
Using sms0 device
TFTP from server 0.0.0.0; our IP address is 192.168.0.93; sending through gateway 192.168.0.1
Filename 'boot.scr.uimg'.
Load address: 0x82000000
Loading: T T T T T T T


=> root=UUID=5528e5e7-ca00-4beb-9809-8a69369bd2b9

Is this my sd card (mmc 0)?
Thomas
 
Last edited:
It's still trying to load omap5-pyra.dtb. It should not be doing that at all, u-boot.img doesn't even have that string in it.
I have no idea where it's getting that from. Unless you either changed it yourself, have some *.scr file somewhere that sets it back to omap5-pyra.dtb, or some saved uboot env that resets it. (because i don't see the "*** Warning - bad CRC, using default environment" i get here).
Go into uboot, press a key when you get the "Hit any key to stop autoboot" , do "printenv fdtfile" , check if it says omap5-uevm.dtb, if not, do a "env default -a -f" , and check again.
Now do either "saveenv" , or wipe the uboot stuff from the emmc with "dd if=/dev/zero bs=1M count=100 of=/dev/mmcblk0" when you've booted into linux (which is probably a good idea, since uboot will probably change a lot, and those saved env setting will probably interfere when anything changes.. as it probably did now)

The rest of the output is as expected.
This image tries to find the root partition based on the partion ID instead of the device name, so it can theoretically boot it from any sd card slot, or any other device the kernel knows about.
 
Hi aTC,

i never setup emmc and fdisk said, there is no partition table.

=> printenv fdtfile
fdtfile=omap5-pyra.dtb

=> env default -a -f
=> printenv fdtfile
fdtfile=omap5-uevm.dtb

=> boot

Now, it boot from sd card.

Thomas
 
i think u-boot just dumps its settings to the emmc even if there's no partitions there.
You must have done a saveenv somewhere.
 
Is Vivante GC 320 2D supported in this OS?

I didn't found any kernel module or firmware or user space driver. If not, it is possible to add the support, i found only information for 3.X kernel from TI.

Thomas
 
I compiled a new kernel from Golden Delicious, 4.7-rc6, with etnaviv (reverse vivante) support and new kernel module was created.

modprobe etnaviv
=> [30257.923139] driver_register 'etnaviv-gpu'
=> [30257.928086] driver_register 'etnaviv'

What next? I didn't found any info for testing 2D part of this driver.

Thomas
 
I compiled a new kernel from Golden Delicious, 4.7-rc6, with etnaviv (reverse vivante) support and new kernel module was created.

modprobe etnaviv
=> [30257.923139] driver_register 'etnaviv-gpu'
=> [30257.928086] driver_register 'etnaviv'

What next? I didn't found any info for testing 2D part of this driver.

Thomas

May want to talk to @zmatt he's been doing a bit of work with it lately.
 
I compiled a new kernel from Golden Delicious, 4.7-rc6, with etnaviv (reverse vivante) support and new kernel module was created.

modprobe etnaviv
=> [30257.923139] driver_register 'etnaviv-gpu'
=> [30257.928086] driver_register 'etnaviv'

What next? I didn't found any info for testing 2D part of this driver.

Thomas
I don't think etnaviv is the right kernel module for the 2D accelerator.

This is how far I got last time I tried: https://pyra-handheld.com/boards/threads/how-to-get-rotation-working.75994/page-4#post-1343852
 
@KidPaddle, is etnaviv is included in the goldelico tree, I mean you just compiled the kernel ?
I'm interested in this 'cause I'd like to see video acceleration soon, I'm sick of having a high cpu usage when watching.

BTW for those interested I ran a little temperature test on the IGEP. I added a bigger heatsink, and with a huge air flow I compiled @ -j3 1.5GHz, the cpu stays below 70°C.
 
@Linux-SWAT

Yes, got latest source from git://git.goldelico.com/gta04-kernel.git, 4.7-rc6 and compiled it. Maybe you have to change in letux_defconfig
CONFIG_DRM_ETNAVIV=m and CONFIG_DRM_ETNAVIV_REGISTER_LOGGING=n to build new module.

But, only GC320 on framebuffer is supported on OMAP 5432 EVM board, no EGL acceleration, no mesa/drm integration. There is a fork, https://github.com/laanwj/mesa, but i think, only for 3D gpu's.

@slaeshjag
I have to read your posts, thanks.

Thomas
 
Ok, thanks for the info.
Maybe I should try to launch MPlayer under console with fb driver ?
 
I can build a working kernel, but I have no etnaviv module.
Which defconfig did you use ?
 
The config i got from "zcat /proc/config.gz > .config", booted aTC - Linux image with kernel 4.6.

I changed line 5 in file "drivers/gpu/drm/etnaviv/Kconfig"

from "depends on ARCH_MXC || ARCH_DOVE"
to "depends on ARCH_MXC || ARCH_DOVE || ARM || ARM64"

before i run "make menueconfig".
Thomas
 
Last edited:
I think, slaeshjag is right, that the build in kernel module etnaviv is not the right kernel module for 2D. I will check bltsville again, but i looked at before and found no samples/tools for it, so i checked alternatives.

Thomas

PS.:
Working now on a ssd disc, very nice :)
 
I just want to test if windows move faster ;^) .
Yes, SD access is soooo sloooow !
 
modprobe etnaviv
=> [30257.923139] driver_register 'etnaviv-gpu'
=> [30257.928086] driver_register 'etnaviv'

What next? I didn't found any info for testing 2D part of this driver.
You normally almost never have to modprobe a module (unless you first removed it manually) since the kernel will automatically load it when it detects a compatible device. The reason is hasn't is probably that it's missing from Device Tree.

As far as I can tell it does look like the appropriate kernel module, and it should support the GC320, but that's just based on a very quick look.

May want to talk to @zmatt he's been doing a bit of work with it lately.
No I haven't.

I'm interested in this 'cause I'd like to see video acceleration soon, I'm sick of having a high cpu usage when watching.
How would the GC320 help with that? It's a blitting engine. If you want video decoding acceleration you need IVA-HD working, which is going to be non-trivial...
 
Back
Top