[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - build parallella-linux kernel
Page 2 of 3

Re: build parallella-linux kernel

PostPosted: Sat Sep 13, 2014 10:12 pm
by Yggdrasil

Re: build parallella-linux kernel

PostPosted: Sun Sep 14, 2014 5:07 pm
by toralf

Re: build parallella-linux kernel

PostPosted: Sun Sep 14, 2014 6:54 pm
by g3vbv
UIMAGE arch/arm/boot/uImage
Image Name: Linux-3.14.12-parallella-xilinx-
Created: Sun Sep 14 02:56:16 2014
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3371896 Bytes = 3292.87 kB = 3.22 MB
Load Address: 00008000
Entry Point: 00008000
Image arch/arm/boot/uImage is ready
root@parallella-16:/usr/src/parallella-linux# make zynq-parallella1-hdmi.dtb
DTC arch/arm/boot/dts/zynq-parallella1-hdmi.dtb

I did the backups and copies in /dev/mmcblk0p1 followed by sync and reboot.
No HDMI output - kernel .config same as the original kernel
.
root@parallella-16:/usr/src/parallella-linux# grep HDMI .config
CONFIG_VIDEO_AXI_HDMI_RX=y
CONFIG_DRM_ADI_AXI_HDMI=y
CONFIG_HDMI=y
CONFIG_SND_SOC_ADV7511_HDMI=y

slipstream:~ # ssh -X parallella-16
root@parallella-16's password:
Welcome to Linaro 14.04 (GNU/Linux 3.14.12-parallella-xilinx-g1095261-dirty armv7l)

* Documentation: https://wiki.linaro.org/
Last login: Sun Sep 14 16:40:09 2014
root@parallella-16:~# ps fax|grep X
2790 pts/0 S+ 0:00 \_ grep --color=auto X
root@parallella-16:~# lsusb
Bus 001 Device 006: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device
Bus 001 Device 005: ID 0458:0019 KYE Systems Corp. (Mouse Systems)
Bus 001 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 003: ID 047d:2043 Kensington
Bus 001 Device 002: ID 04cc:1521 ST-Ericsson USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@parallella-16:~#

Xorg.0.log
-----------------
[ 21.648] (==) AIGLX enabled
[ 21.648] Loading extension GLX
[ 21.648] (II) LoadModule: "modesetting"
[ 21.649] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 21.653] (II) Module modesetting: vendor="X.Org Foundation"
[ 21.653] compiled for 1.15.0, module version = 0.8.1
[ 21.653] Module class: X.Org Video Driver
[ 21.653] ABI class: X.Org Video Driver, version 15.0
[ 21.653] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 21.653] (++) using VT number 7

[ 21.654] (WW) Falling back to old probe method for modesetting
[ 21.654] (EE) open /dev/dri/card0: No such file or directory
[ 21.654] (EE) No devices detected.
[ 21.654] (==) Matched modesetting as autoconfigured driver 0
[ 21.654] (==) Matched fbdev as autoconfigured driver 1
[ 21.654] (==) Assigned the driver to the xf86ConfigLayout
[ 21.654] (II) LoadModule: "modesetting"
[ 21.655] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 21.655] (II) Module modesetting: vendor="X.Org Foundation"
[ 21.655] compiled for 1.15.0, module version = 0.8.1
[ 21.656] Module class: X.Org Video Driver
[ 21.656] ABI class: X.Org Video Driver, version 15.0
[ 21.656] (II) UnloadModule: "modesetting"
[ 21.656] (II) Unloading modesetting
[ 21.656] (II) Failed to load module "modesetting" (already loaded, -1224808232)
[ 21.656] (II) LoadModule: "fbdev"
[ 21.657] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 21.659] (II) Module fbdev: vendor="X.Org Foundation"
[ 21.659] compiled for 1.15.0, module version = 0.4.4
[ 21.659] Module class: X.Org Video Driver
[ 21.659] ABI class: X.Org Video Driver, version 15.0
[ 21.659] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 21.660] (II) FBDEV: driver for framebuffer: fbdev
[ 21.660] (++) using VT number 7

[ 21.660] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 21.660] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 21.660] (WW) Falling back to old probe method for modesetting
[ 21.660] (EE) open /dev/dri/card0: No such file or directory
[ 21.660] (WW) Falling back to old probe method for fbdev
[ 21.660] (II) Loading sub module "fbdevhw"
[ 21.660] (II) LoadModule: "fbdevhw"
[ 21.667] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 21.669] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 21.669] compiled for 1.15.1, module version = 0.0.2
[ 21.669] ABI class: X.Org Video Driver, version 15.0
[ 21.670] (EE) open /dev/fb0: No such file or directory
[ 21.670] (EE) No devices detected.
[ 21.670] (EE)
Fatal server error:
[ 21.670] (EE) no screens found(EE)
[ 21.670] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 21.670] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 21.671] (EE)
[ 21.672] (EE) Server terminated with error (1). Closing log file.

root@parallella-16:~# ls -l /usr/lib/xorg/modules/libfb.so
-rw-r--r-- 1 root root 92452 Apr 16 14:51 /usr/lib/xorg/modules/libfb.so

FB and CONFIG_FB_XILINX settings same as in the 3.12 kernel and /etc/X11/xorg.conf the same.
root@parallella-16:/usr/src/parallella-linux# grep FB .config
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_FB=y
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y

root@parallella-16:/usr/src/parallella-linux# grep CONFIG_FB_XILINX .config
# CONFIG_FB_XILINX is not set

Re: build parallella-linux kernel

PostPosted: Mon Sep 15, 2014 9:39 am
by 9600

Re: build parallella-linux kernel

PostPosted: Mon Sep 15, 2014 12:09 pm
by g3vbv
Thanks Andrew,
Good to know it wasn't anything I overlooked.
Keep up the good work.
Regards
Sid.

Re: build parallella-linux kernel

PostPosted: Sat Sep 20, 2014 6:34 pm
by tufei

Re: build parallella-linux kernel

PostPosted: Sun Nov 09, 2014 6:00 am
by fuzz

Re: build parallella-linux kernel

PostPosted: Sun Nov 09, 2014 1:01 pm
by g3vbv
I built 3.14.12 5 days ago but it didn't boot.
"git pull" says it's already up to date.

I have never been able to get serial console messages to help identify problems.

For 3.14.12
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CP210X=y
CONFIG_USB_SERIAL_PL2303=y
root@parallella-16:/a1/parallella-linux# ls -l /dev/ttyPS0
crw-rw---- 1 root dialout 251, 0 Jan 1 1970 /dev/ttyPS0

3.12.0-g0bc9c3a-dirty
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_XILINX_PS_UART=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y

Re: build parallella-linux kernel

PostPosted: Sun Nov 09, 2014 8:44 pm
by fuzz

Re: build parallella-linux kernel

PostPosted: Sat Nov 22, 2014 1:00 am
by g3vbv
I followed the regular instructions:-
// Check out from GIT
git clone https://github.com/parallella/parallella-linux

cd parallella-linux

// Build config
make mrproper
make parallella_defconfig

// Change all modules to be compiled in (edit .config and swap =m with =y)
vi .config

// Make kernel
make -j 4 LOADADDR=0x8000 uImage

// Make DeviceTree
make zynq-parallella1-hdmi.dtb

// Mount boot partition
sudo mount /dev/mmcblk0p1 /mnt

// Move old files out of the way
sudo mv /mnt/uImage /mnt/uImage.bak
sudo mv /mnt/devicetree.dtb /mnt/devicetree.dtb.bak

// Copy new files into place
sudo cp arch/arm/boot/uImage /mnt/uImage
sudo cp arch/arm/boot/dts/zynq-parallella1-hdmi.dtb /mnt/devicetree.dtb

// Reboot and pray
sudo sync
sudo reboot