Recent Kernel for utilite?

This forum is for supported devices using an ARMv7 Freescale SoC.

Recent Kernel for utilite?

Postby setti » Sun Feb 22, 2015 10:25 am

Are there any plans to update the kernel packages for utilite to a more recent version?
Im stumbling about viewtopic.php?t=6413&p=42374#p42834 and need a newer kernel (also because systemd dropped support for kernel < 3.7).
What I already tried is to install the generic kernel linux-armv7 and updated uboot via http://www.compulab.co.il/utilite-compu ... oot_Update to U-Boot 2014.10-cm-fx6-2.1 (Jan 19 2015 - 11:28:10) but i cant load kernel and hanging on "Starting kernel ...".
Any one any idea?
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Recent Kernel for utilite?

Postby pepedog » Sun Feb 22, 2015 12:56 pm

It should work, if you
cp /boot/dtbs/imx6q-cm-fx6.dts /boot/
have an updated uboot
Update env in uboot set to default, and then to point to right things, ie the zImage and imx6q-cm-fx6.dts
Not everything will work
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recent Kernel for utilite?

Postby setti » Sun Feb 22, 2015 4:14 pm

thx for the dts hint. thats what i did not tried yet.
Symlinking should working too? I will try it later....
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Recent Kernel for utilite?

Postby setti » Sun Feb 22, 2015 5:52 pm

Last one question: as linux-armv7 ships a zImage i need to run "bootz" from uboot instead of "boot". How can I change the default behaviour of uboot to run "bootz" instead of "boot"?
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Recent Kernel for utilite?

Postby moonman » Sun Feb 22, 2015 6:06 pm

Usually there is bootm and bootz. boot must be just a variable.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Recent Kernel for utilite?

Postby pepedog » Sun Feb 22, 2015 6:10 pm

pacman -Sy uboot-tools
in uboot (after you have done below)
$this->bbcode_second_pass_code('', 'env default -a
saveenv #only do this second time around if below boots
boot')
$this->bbcode_second_pass_code('', '
[code]# cd /boot/
# cat boot.txt
setenv eth1addr "00:01:c0:13:b7:49"
setenv ethaddr "00:01:c0:13:91:d0"
setenv stdout serial,vga
setenv stderr serial,vga
setenv loadaddr 10800000
setenv dtbaddr 15000000
setenv bootm_low 15000000
setenv ramdisk_file uInitrd
setenv ramdisk_addr 15100000
setenv dtb dtbs/imx6q-sbc-fx6m.dtb
setenv zimage zImage
setenv mmcdev 2
setenv bootargs " console=tty1 console=ttymxc3,115200 consoleblank=0 root=/dev/mmcblk0p2 rw rootwait video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24,bpp=32 dmfc=3 pci=nomsi ahci_imx.hotplug=1"
sata init
fatload mmc ${mmcdev} ${loadaddr} ${zimage}
fatload mmc ${mmcdev} ${dtbaddr} ${dtb}
bootz ${loadaddr} - ${dtbaddr}[/code]
[code]mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d boot.txt boot.scr')
So you don't have to move/copy dtb

And I have got a 3.10.17 kernel (uImage version) working too
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recent Kernel for utilite?

Postby setti » Mon Feb 23, 2015 7:09 am

thx pepedog everything works like a charm. Im booting from sata instead. But your code helped me alot.
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Recent Kernel for utilite?

Postby pepedog » Mon Feb 23, 2015 8:54 am

Are both ethernet working? No random Mac address?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Recent Kernel for utilite?

Postby setti » Mon Feb 23, 2015 12:31 pm

im just using (and needing) one ethernet port (the innermost)
I just recognized, that "ip a" only shows one..


$this->bbcode_second_pass_code('', ' # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 00:01:c0:13:91:d0 brd ff:ff:ff:ff:ff:ff
3: mlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d0:e7:82:b4:d8:b5 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.17/24 brd 192.168.0.255 scope global dynamic mlan0
valid_lft 10736975sec preferred_lft 10736975sec
inet6 fd00:26:5bef:4a52:d2e7:82ff:feb4:d8b5/64 scope global mngtmpaddr dynamic
valid_lft 535426sec preferred_lft 401569sec
inet6 fe80::d2e7:82ff:feb4:d8b5/64 scope link
valid_lft forever preferred_lft forever')

As you can see, wifi is working (out of the box, using systemd-networkd + wpa_suplicant)

Mac address is the one, i specified.
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Recent Kernel for utilite?

Postby setti » Mon Feb 23, 2015 4:38 pm

Just one thing to mention for others: imx6q-sbc-fx6m.dtb is not part of the arch package "linux-armv7". Ive downloaded the file manually from https://github.com/The-Loeki/compulab-u ... .8-l10.tgz
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Next

Return to Freescale

Who is online

Users browsing this forum: No registered users and 2 guests