Skip to content

Instantly share code, notes, and snippets.

@MartijnBraam
Created August 27, 2018 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartijnBraam/c8462d1773f93ff6bddab35c8af60c93 to your computer and use it in GitHub Desktop.
Save MartijnBraam/c8462d1773f93ff6bddab35c8af60c93 to your computer and use it in GitHub Desktop.
setenv mmcnum 0
setenv mmcpart 1
setenv mmctype ext2
setenv bootargs init=/init.sh rw earlyprintk=serial,ttyS0,115200 console=tty0 console=ttyS0,115200
echo Loading kernel
ext2load mmc 0 0x48000000 uImage-postmarketos-stable
echo Loading device tree
ext2load mmc 0 0x49000000 postmarketos-stable.dtb
echo Loading initramfs
ext2load mmc 0 0x50000000 uInitrd-postmarketos-stable
echo Booting kernel
bootm 0x48000000 0x50000000 0x49000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment