1) Build kernel, create uImage
mkimage -A ppc -O linux -e 0x4001000 -a 0x3ffffc0 -C none -d /tftpboot/fbsd /tftpboot/fbsd.uImage
2) Boot uImage on the QorIQ system
=> tftpboot 0x3ffffc0 k1
Using FM1@DTSEC3 device
TFTP from server 192.168.2.23; our IP address is 192.168.2.22
Filename 'k1'.
Load address: 0x3ffffc0
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
3.1 MiB/s
done
Bytes transferred = 9380388 (8f2224 hex)
3) Boot the image, ensure that kernel successfully reaches mi_startup() (you shall see greeting
when it does)
Bytes transferred = 9380388 (8f2224 hex)
=> bootm 0x3ffffc0 - 0xec800000
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 03ffffc0 ...
Image Name:
Image Type: PowerPC Linux Kernel Image (uncompressed)
Data Size: 9380324 Bytes = 8.9 MiB
Load Address: 03ffffc0
Entry Point: 04001000
Verifying Checksum ... OK
## Flattened Device Tree blob at ec800000
Booting using the fdt blob at 0xec800000
XIP Kernel Image ... OK
Loading Device Tree to 03fe0000, end 03fff10b ... OK
HELLO FROM t2080 FREEBSD!!
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #40 9d6a66c(master)-dirty: Sun Aug 21 12:15:46 PDT 2016
root@int0dh-home:/usr/obj/powerpc.powerpc/usr/home/int0dh/WORK/freebsd.original/sys/AMIGAX5000 powerpc
gcc version 4.2.1 20070831 patched [FreeBSD]
WARNING: WITNESS option enabled, expect reduced performance.
...