Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 679
    • Issues 679
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 213
    • Merge Requests 213
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #9826

Closed
Open
Opened Jan 03, 2019 by Paul Gauret@pgauret

Can't boot linux-vanilla on armhf

I can’t boot the Alpine linux kernel on my armhf boards (tested on Cubieboard and OrangePI Plus with similar results).

Sample u-boot session below, messages stop after “Starting kernel” and board requires a hard reset:


=>setenv bootargs earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
=>env set fdt_high ffffffff
=>fatload mmc 0 0x46000000 vmlinuz-vanilla
3834368 bytes read in 310 ms (11.8 MiB/s)
=>fatload mmc 0 0x49000000 linux-4.19.13-0-vanilla-sun4i-a10-cubieboard.dtb
22448 bytes read in 4 ms (5.4 MiB/s)
=>bootz 0x46000000 - 0x49000000

## Flattened Device Tree blob at 49000000
Booting using the fdt blob at 0x49000000
Using Device Tree in place at 49000000, end 490087af

Starting kernel …


Building from the same kernel version with a default configuration (multi_v7_defconfig) generates a working kernel.


make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- multi_v7_defconfig

make j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf LOADADDR=0x40008000 zImage dtbs

make j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf modules

make j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf INSTALL_MOD_PATH=output modules_install


(from redmine: issue id 9826, created on 2019-01-03)

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#9826