On Sat, Aug 26, 2017 at 11:35 PM, Roger Shimizu <[email protected]> wrote:
> On Sun, Aug 27, 2017 at 12:18 PM, Matt Zagrabelny <[email protected]> > wrote: > > Greetings, > > > > I have an RPi3 and have followed the instructions at [0] to install > Stretch > > on the Pi. > > > > I am now hoping to cross compile and install the new kernel image (and > > modules). I have made some attempts at cross compiling the kernel and > > installing the image for u-boot. > > For cross compile, I have an wiki entry you may be interested in: > - https://wiki.debian.org/HowToCrossBuildAnOfficialDebianKernelPackage > > > It's currently not working and before I post details about my process and > > the console output I was wondering if anyone had a link to instructions > for > > cross compiling a kernel and installing it to u-boot for an RPi3. > > I don't have RasPi3, but for installation guide, I guess you can take > this as reference: > - https://wiki.debian.org/RaspberryPi3 > > Thanks for the links. It does help. I think my issue is related to generating the u-boot image. Here is the console output when I try to boot my new image: --- Net: Net Initialization Skipped No ethernet found. starting USB... USB0: Core Release: 2.80a scanning bus 0 for devices... 5 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 1 Ethernet Device(s) found Hit any key to stop autoboot: 0 swithc to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 810 bytes read in 12 ms (65.4 KiB/s) ## Executing script at 02000000 Saving Environment to FAT... writing uboot.env FAT: Misaligned buffer address (000000003ab2aff0) done reading linux.uImage 5974654 bytes read in 392 ms (14.5 MiB/s) reading bcm2837-rpi-3-b.dtb 12333 bytes read in 20 ms (601.6 KiB/s) ** No boot file defined ** ## Booting kernel from Legacy Image at 01000000 ... Image Name: Image Type: AArch64 Linux Kernel Image (gzip compressed) Data Size: 5974590 Bytes = 5.7 MiB Load Address: 00080000 Entry POint: 00080000 Verifying CHecksum ... OK ## Flattened Device Tree blob at 00000100 Booting using the fdt blob at 0x000100 Uncompressing Kernel Image ... OK reserving fdt memory region: addr=0 size=1000 Loading Device Tree to 000000003ab27000, end 000000003ab2d02c ... OK Starting kernel ... --- and then it hangs forever. I am hoping to find some instructions for generating the u-boot image for an RPi3 and check my workflow against that. Thanks! -m

