Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Buildroot SD card Firefly image boot fails with: "failed to find part:boot&

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/23/2016 16:10:03        Only Author  11#
Hi
  Yes ,I have tried ,and got the same informations.
I think,the u-boot couldn't load the boot.
But I am  unfamiliar with the buildroot program.
I will try to fix when I am free.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/28/2016 11:49:51        Only Author  12#
cirosantilli Posted at 9/20/2016 15:01
@isle buildroot... https://github.com/buildroot/buildroot :-)

git checkout 2016.05

Hi
I have tested it again ,and the result is success.
the reason is load the wrong uboot ,we need clean up the spl and uboot from the EMMC FLASH
First of all flash a normal ubuntu firmware to the board ,then,boot the os.
clean the spl and uboot by
  1. dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=4
Copy the code

then reboot ,
now,insert your sdcard and power up .
  1. switch to partitions #0, OK
  2. mmc0 is current device
  3. Scanning mmc 0:1...
  4. Found /boot/extlinux/extlinux.conf
  5. Retrieving file: /boot/extlinux/extlinux.conf
  6. 160 bytes read in 35 ms (3.9 KiB/s)
  7. 1:        firefly-rk3288
  8. Retrieving file: /boot/uImage
  9. 5478152 bytes read in 1043 ms (5 MiB/s)
  10. append: console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
  11. Retrieving file: /boot/rk3288-firefly.dtb
  12. 35785 bytes read in 37 ms (944.3 KiB/s)
  13. ## Booting kernel from Legacy Image at 02000000 ...
  14.    Image Name:   Linux-4.4.0-rc5
  15.    Image Type:   ARM Linux Kernel Image (uncompressed)
  16.    Data Size:    5478088 Bytes = 5.2 MiB
  17.    Load Address: 02000000
  18.    Entry Point:  02000000
  19.    Verifying Checksum ... OK
  20. ## Flattened Device Tree blob at 01f00000
  21.    Booting using the fdt blob at 0x1f00000
  22.    Loading Kernel Image ... OK
  23.    Loading Device Tree to 1fff4000, end 1ffffbc8 ... OK

  24. Starting kernel ...

Copy the code
Reply

Use props Report

55

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
55
Posted at 5/27/2017 15:47:44        Only Author  13#
when i clean up the /dev/mmcblk0, can i recover it and boot from emmc?
Reply

Use props Report

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20
Posted at 5/9/2018 16:31:57        Only Author  14#
isle Posted at 9/28/2016 11:49
Hi
I have tested it again ,and the result is success.
the reason is load the wrong uboot ,we ne ...

HI, how to fix it  when i boot from the sd card

ttyS2 - failed to request DMA
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0x0
mmc2: MAN_BKOPS_EN bit is not set
mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
mmc2: new high speed MMC card at address 0001
mmcblk1: mmc2:0001 AGND3R 14.5 GiB
mmcblk1boot0: mmc2:0001 AGND3R partition 1 4.00 MiB
mmcblk1boot1: mmc2:0001 AGND3R partition 2 4.00 MiB
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
mmc1: tried to reset card
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x800b00
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0xb00
mmcblk0: retrying using single block read
EXT3-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (40)
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x800b00
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0xb00
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
mmc1: tried to reset card
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x800b00
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0xb00
mmcblk0: retrying using single block read
EXT2-fs (mmcblk0p1): error: couldn't mount because of unsupported optional features (40)
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x800b00
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0xb00
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
mmc1: tried to reset card
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x800b00
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0xb00
mmcblk0: retrying using single block read
mmcblk0: error -110 sending status command, retrying
mmcblk0: error -84 transferring data, sector 795, nr 2, cmd response 0x900, card status 0x0
blk_update_request: I/O error, dev mmcblk0, sector 795
EXT4-fs (mmcblk0p1): unable to read superblock
List of all partitions:
0100           16384 ram0  (driver?)
b300        15159296 mmcblk0  driver: mmcblk
  b301          524288 mmcblk0p1 00000000-01
b320        15267840 mmcblk1  driver: mmcblk
b360            4096 mmcblk1boot1  (driver?)
b340            4096 mmcblk1boot0  (driver?)
No filesystem could mount root, tried:  ext3 ext2 ext4 vfat msdos
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.0.0-rc1 #1
Hardware name: Rockchip (Device Tree)
Backtrace:
[<c0011ce0>] (dump_backtrace) from [<c0011f04>] (show_stack+0x18/0x1c)
r7:c06087fc r6:00008001 r5:c064b3b0 r4:00000000
[<c0011eec>] (show_stack) from [<c0460894>] (dump_stack+0x78/0x94)
[<c046081c>] (dump_stack) from [<c045faf4>] (panic+0x90/0x1e8)
r5:c064b3b0 r4:ed84201a
[<c045fa68>] (panic) from [<c05db31c>] (mount_block_root+0x24c/0x288)
r3:00000000 r2:80000000 r1:ee05fed0 r0:c05429ac
r7:c06087fc
[<c05db0d0>] (mount_block_root) from [<c05db498>] (mount_root+0x58/0x6c)
r10:00000000 r9:c064aec0 r8:c064aec0 r7:c06087d8 r6:c0608811 r5:c0542a10
r4:0b300001
[<c05db440>] (mount_root) from [<c05db610>] (prepare_namespace+0x164/0x1c4)
r5:c064aee4 r4:c06087fc
[<c05db4ac>] (prepare_namespace) from [<c05dae9c>] (kernel_init_freeable+0x194/0x1e0)
r6:c0615840 r5:000000c4 r4:00000008
[<c05dad08>] (kernel_init_freeable) from [<c045ede0>] (kernel_init+0x10/0xec)
r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c045edd0 r4:00000000
[<c045edd0>] (kernel_init) from [<c000ea20>] (ret_from_fork+0x14/0x34)
r5:c045edd0 r4:00000000
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.0.0-rc1 #1
Hardware name: Rockchip (Device Tree)
Backtrace:
[<c0011ce0>] (dump_backtrace) from [<c0011f04>] (show_stack+0x18/0x1c)
r7:ee099fa4 r6:00000000 r5:00000001 r4:00000000
[<c0011eec>] (show_stack) from [<c0460894>] (dump_stack+0x78/0x94)
[<c046081c>] (dump_stack) from [<c0013e90>] (handle_IPI+0xd0/0x168)
r5:00000001 r4:c064b198
[<c0013dc0>] (handle_IPI) from [<c000866c>] (gic_handle_irq+0x5c/0x64)
r7:ee099fa4 r6:ee099f70 r5:c061cfc8 r4:f0002000
[<c0008610>] (gic_handle_irq) from [<c00129c0>] (__irq_svc+0x40/0x54)
Exception stack(0xee099f70 to 0xee099fb8)
9f60:                                     ffffffed 00000000 00000000 c001ee60
9f80: 00000000 00000000 c0617c48 c064b1c4 00000000 ffffffed 00000000 ee099fc4
9fa0: ee099fc8 ee099fb8 c000f570 c000f574 60000113 ffffffff
r7:ee099fa4 r6:ffffffff r5:60000113 r4:c000f574
[<c000f540>] (arch_cpu_idle) from [<c0050480>] (cpu_startup_entry+0xec/0x268)
[<c0050394>] (cpu_startup_entry) from [<c0013b8c>] (secondary_start_kernel+0x124/0x148)
r7:c064b1c4 r4:00000001
[<c0013a68>] (secondary_start_kernel) from [<00008704>] (0x8704)
r5:00000015 r4:2e06406a
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.0.0-rc1 #1
Hardware name: Rockchip (Device Tree)
Backtrace:
[<c0011ce0>] (dump_backtrace) from [<c0011f04>] (show_stack+0x18/0x1c)
r7:ee09dfa4 r6:00000000 r5:00000003 r4:00000000
[<c0011eec>] (show_stack) from [<c0460894>] (dump_stack+0x78/0x94)
[<c046081c>] (dump_stack) from [<c0013e90>] (handle_IPI+0xd0/0x168)
r5:00000003 r4:c064b198
[<c0013dc0>] (handle_IPI) from [<c000866c>] (gic_handle_irq+0x5c/0x64)
r7:ee09dfa4 r6:ee09df70 r5:c061cfc8 r4:f0002000
[<c0008610>] (gic_handle_irq) from [<c00129c0>] (__irq_svc+0x40/0x54)
Exception stack(0xee09df70 to 0xee09dfb8)
df60:                                     ffffffed 00000000 00000000 c001ee60
df80: 00000000 00000000 c0617c48 c064b1c4 00000000 ffffffed 00000000 ee09dfc4
dfa0: ee09dfc8 ee09dfb8 c000f570 c000f574 60000113 ffffffff
r7:ee09dfa4 r6:ffffffff r5:60000113 r4:c000f574
[<c000f540>] (arch_cpu_idle) from [<c0050480>] (cpu_startup_entry+0xec/0x268)
[<c0050394>] (cpu_startup_entry) from [<c0013b8c>] (secondary_start_kernel+0x124/0x148)
r7:c064b1c4 r4:00000003
[<c0013a68>] (secondary_start_kernel) from [<00008704>] (0x8704)
r5:00000015 r4:2e06406a
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.0.0-rc1 #1
Hardware name: Rockchip (Device Tree)
Backtrace:
[<c0011ce0>] (dump_backtrace) from [<c0011f04>] (show_stack+0x18/0x1c)
r7:ee09bfa4 r6:00000000 r5:00000002 r4:00000000
[<c0011eec>] (show_stack) from [<c0460894>] (dump_stack+0x78/0x94)
[<c046081c>] (dump_stack) from [<c0013e90>] (handle_IPI+0xd0/0x168)
r5:00000002 r4:c064b198
[<c0013dc0>] (handle_IPI) from [<c000866c>] (gic_handle_irq+0x5c/0x64)
r7:ee09bfa4 r6:ee09bf70 r5:c061cfc8 r4:f0002000
[<c0008610>] (gic_handle_irq) from [<c00129c0>] (__irq_svc+0x40/0x54)
Exception stack(0xee09bf70 to 0xee09bfb8)
bf60:                                     ffffffed 00000000 00000000 c001ee60
bf80: 00000000 00000000 c0617c48 c064b1c4 00000000 ffffffed 00000000 ee09bfc4
bfa0: ee09bfc8 ee09bfb8 c000f570 c000f574 60000113 ffffffff
r7:ee09bfa4 r6:ffffffff r5:60000113 r4:c000f574
[<c000f540>] (arch_cpu_idle) from [<c0050480>] (cpu_startup_entry+0xec/0x268)
[<c0050394>] (cpu_startup_entry) from [<c0013b8c>] (secondary_start_kernel+0x124/0x148)
r7:c064b1c4 r4:00000002
[<c0013a68>] (secondary_start_kernel) from [<00008704>] (0x8704)
r5:00000015 r4:2e06406a
drm_kms_helper: panic occurred, switching back to text console
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list