Booting up Bebop 2 through UART and NAND flash error


#1

Product: Bebop2
Product version: 4.0.5
I’m trying to boot up Bebop2 but it never gets booted up. The LED flashes continuously. Then I used UART to see the bootup messages. I found out there are some interesting points like NAND flash: I/O error and invalid user-id ‘root’.
I think I somehow corrupted the /etc/passwd file, while I was trying to add telnet password to it. Can it be corrected somehow or can the memory be flashed via UART, so that Bebop2 gets booted up properly. Below is the boot up message I’m getting:

Booting in mode NAND
jumping to 0x00100000 len 46000
�nand_flash: Toshiba 2048 bytes per page, 1 Gbits (x8), 1.8V, timing ONFI 4
Parrotboot for target MILOS, git version ecos-bootloader-p7-start-343-gb32f66c, built on Dec 14 2015

P7R3
P7MU Revision 2
Crystal Frequency: 26000000 Hz
RAM config name: Milos - Dual NT5CC128M16CP-DI - CL11, CWL8 @750MHz 750 Mhz
Milos rev: 2

but 0
Scaning start 8M (size 16M), page shift 11 eb size 131072
vid_hdr_offset 2048, data_offset 4096 leb_size 126976
image_seq is 7f5fe183
new volume 4
new volume 1
new volume 0
nand_flash: I/O error
skipping bad block 11328
parsed 8192 pages
vol0 : main_boot 28/67 ebs
vol1 : alt_boot 36/54 ebs
volume 0 : “main_boot” ok (3555328)
Attempt booting on UBI volume with ID 0…
plf: loading E_TEXT section to addr 0x82000000 size 3542200… done.
plf: loading U_BOOTLOADER section to addr 0x80700000 size 208… done.
Booting Linux…’ boxinit.serialno=P732P2UA56000182D130 calib=0x00140037 mtdparts=nand0:8M(Pbootloader),16M(Pmain_boot),8M(Pfactory),50M(Psystem),46M(Pupdate) console=ttyPA0,115200 loglevel=8 ubi.mtd=Pfactory ubi.mtd=Psystem ubi.mtd=Pupdate root=ubi1:system rootfstype=ubifs quiet androidboot.bootloader=ecos-bootloader-p7-start-343-gb32f66c '
boxinit: /etc/boxinit.rc: 44: invalid user id 'root’
boxinit: /etc/boxinit.d/10-rcs-init.rc: 4: invalid user id 'root’
boxinit: /etc/boxinit.d/20-dnsmasq.rc: 9: invalid user id 'root’
boxinit: /etc/boxinit.d/20-udhcpd.rc: 7: invalid user id 'root’
boxinit: /etc/boxinit.d/30-publisher.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/50-ptpd.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/50-telemetryd.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/60-inetd.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/60-inetd.rc: 4: invalid group id 'root’
boxinit: /etc/boxinit.d/90-avahi-daemon.rc: 4: invalid user id 'root’
boxinit: /etc/boxinit.d/90-kmsgd.rc: 9: invalid user id 'root’
boxinit: /etc/boxinit.d/90-lttngd.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/90-lttngd.rc: 8: invalid user id 'root’
boxinit: /etc/boxinit.d/90-netmon-bcmlog.rc: 3: invalid user id 'root’
boxinit: /etc/boxinit.d/90-netmon-bcmlog.rc: 4: invalid group id 'root’
boxinit: /etc/boxinit.d/99-netdata.rc: 8: invalid user id 'root’
boxinit: /etc/boxinit.d/99-netdata.rc: 9: invalid group id 'root’
boxinit: [init] command ‘mkdir /mnt…’ failed with exit status -30
boxinit: [fs] command ‘mount ubifs…’ failed with exit status -1
boxinit: [fs] command ‘mkdir /factory…’ failed with exit status -30
boxinit: [fs] command ‘mount ubifs…’ failed with exit status -1
boxinit: starting 'rcs-init’
boxinit: starting 'crashdump’
boxinit: process ‘rcs-init’, pid 49 exited
boxinit: starting 'ledd’
boxinit: starting 'kmsgd’
boxinit: process ‘kmsgd’, pid 53 exited
boxinit: process ‘kmsgd’ killing any children in process group
boxinit: process ‘crashdump’, pid 50 exited
boxinit: starting 'kmsgd’
boxinit: process ‘kmsgd’, pid 55 exited
boxinit: process ‘kmsgd’ killing any children in process group
boxinit: starting 'kmsgd’
boxinit: process ‘kmsgd’, pid 56 exited
boxinit: process ‘kmsgd’ killing any children in process group
boxinit: starting 'kmsgd’
boxinit: process ‘kmsgd’, pid 57 exited
boxinit: process ‘kmsgd’ killing any children in process group

Urgent help needed. Any help or experience would be appreciated.