You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
instructions on rockchip wiki page to boot from sd card not correct? #2
I am using rockchip's kernel and u-boot repos with my firefly rk3288 reload board. I used the instructions at http://rockchip.wikidot.com/linux-user-guide to install an SPL in the emmc:
I then followed the instructions under "booting from sd card" to prepare and SD card. However, one problem I had when booting from it, is that the root=... in extlinux.conf referring to /dev/mmcblk0p7 does not work because as soon as the kernel starts it detects the emmc flash memory (16gb on my firefly rk3288 reload board), and it will name it mmcblk0 as device. If I changed it to mmcblk1p7 then it also doesn't work because then the SD card becomes mmcblk0 and the internal mmc becomes mmcblk1. Naming it mmcblk2p7 also doesn't work, so in the end I took the partition UUID I saw in the kernel output and used root=PARTUUID=... in extlinux.conf and that worked. When I inspected the UUID for the rootfs partition on my linux dev PC it was different than the UUID shown on the serial console when I booted with my board so I wrote down the UUID from the serial console and used that after PARTUUID=...
It would be better to make it clear in the instructions at http://rockchip.wikidot.com/linux-user-guide that the u-boot SPL will not be able to find the emmc and load uboot, and that as such, without patching u-boot, the board will boot from SD card and that it's best to use PARTUUID=... instad of referring to the mmcblk0 device which can be renamed by the linux kernel when it starts.
Activity
hizukiayaka commentedon Oct 11, 2016
You need https://patchwork.ozlabs.org/patch/657573/
Also select the mmc device in u-boot you want to use before writing GPT table into it.
wzyy2 commentedon Oct 15, 2016
Hi, please update kernel to latest release-4.4。
We merge a new commit(a0a1e63) and now SD card is always mmc0 and emmc is always mmc2.
See http://rockchip.wikidot.com/linux-user-guide#toc1
bschiett commentedon Oct 15, 2016
Great, thanks so much!
On Sat, Oct 15, 2016 at 2:40 PM, 陈豪 | Jacob Chen notifications@github.com
wrote:
CHROMIUM: usb: dwc3: rockchip: fix hung task timeout when rm xhci-hcd
x86/mtrr: Fix Xorg crashes in Qemu sessions
UPSTREAM: usb: gadget: configfs: add mutex lock before unregister gadget
cifs: fix crash due to race in hmac(md5) handling
ALSA: line6: Give up on the lock while URBs are released.
MIPS: Fix pre-r6 emulation FPU initialisation
hwrng: omap - Fix assumption that runtime_get_sync will always succeed
reiserfs: Unlock superblock before calling reiserfs_quota_on_mount()
UPSTREAM: drm: Paper over locking inversion after registration rework
sched/walt: kill {min,max}_capacity
UPSTREAM: USB: don't free bandwidth_mutex too early
237 remaining items
KVM: SVM: Add missing save/restore handling of LBR MSRs
block: avoid potential deadlock on zone revalidation failure
asymmetric_keys: reject trust keys without IDs
nvmet: move async event work off nvmet-wq
bpf: Fix RCU stall in bpf_fd_array_map_clear()
usb: free iso schedules on failed submit
asymmetric_keys: reject trust keys without IDs
rxrpc: Fix return in rxrpc_recvmsg_data() for service calls
fs/ntfs3: bound CreateAttribute asize against record_size in do_action
ata: sata_inic162x: remove dangerous broken driver
ANDROID: vmscan: Support multiple kswapd threads per node
drm/msm/dpu: handle perf mode in _dpu_core_perf_crtc_update_bus()
perf c2c: Fix memory leaks on output fields
Bluetooth: hci_sync: Copy the resolving-list IRK under RCU
bpf: Fix uninit read for non-fetch atomics on partially spilled slots